Click or drag to resize

ServerAddress Class

Represents the host name and port number of a data server or task server.
Inheritance Hierarchy
SystemObject
  Ookii.JumboServerAddress

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public class ServerAddress : IComparable<ServerAddress>, 
	IEquatable<ServerAddress>

The ServerAddress type exposes the following members.

Constructors
 NameDescription
Public methodServerAddress(String) Initializes a new instance of the ServerAddress class with the specified address.
Public methodServerAddress(String, Int32) Initializes a new instance of the ServerAddress class with the specified host name and port number.
Top
Properties
 NameDescription
Public propertyHostName Gets the host name of the server.
Public propertyPort Gets the port number of the server.
Top
Methods
 NameDescription
Public methodCompareTo Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object) Compares this ServerAddress to another object.
(Overrides ObjectEquals(Object))
Public methodEquals(ServerAddress) Compares this ServerAddress to another.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Gets a hash code that identifies this object.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns a string representation of the current ServerAddress.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(ServerAddress, ServerAddress) Determines whether two specified ServerAddress objects have the same value.
Public operatorStatic memberGreaterThan(ServerAddress, ServerAddress) Determines whether one specified ServerAddress is greater than another specified ServerAddress
Public operatorStatic memberGreaterThanOrEqual(ServerAddress, ServerAddress) Determines whether one specified ServerAddress is greater than or equal to another specified ServerAddress
Public operatorStatic memberInequality(ServerAddress, ServerAddress) Determines whether two specified ServerAddress objects have different values.
Public operatorStatic memberLessThan(ServerAddress, ServerAddress) Determines whether one specified ServerAddress is less than another specified ServerAddress
Public operatorStatic memberLessThanOrEqual(ServerAddress, ServerAddress) Determines whether one specified ServerAddress is less than or equal to another specified ServerAddress
Top
See Also