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: 2.0.0
Syntax
[SerializableAttribute]
public class ServerAddress : IComparable<ServerAddress>

The ServerAddress type exposes the following members.

Constructors
  NameDescription
Public methodServerAddress
Initializes a new instance of the ServerAddress class.
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
Compares this ServerAddress to another object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates 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
Determines whether two specified ServerAddress objects have the same value.
Public operatorStatic memberGreaterThan
Determines whether one specified ServerAddress is greater than another specified ServerAddress
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified ServerAddress is greater than or equal to another specified ServerAddress
Public operatorStatic memberInequality
Determines whether two specified ServerAddress objects have different values.
Public operatorStatic memberLessThan
Determines whether one specified ServerAddress is less than another specified ServerAddress
Public operatorStatic memberLessThanOrEqual
Determines whether one specified ServerAddress is less than or equal to another specified ServerAddress
Top
See Also