C# Class Hazelcast.IO.Address

Represents an address of a member in the cluster.
Represents an address of a member in the cluster.
Datei anzeigen Open project: hazelcast/hazelcast-csharp-client Class Usage Examples

Public Methods

Method Description
Address ( ) : System
Address ( IPAddress inetAddress, int port ) : System
Address ( IPEndPoint inetSocketAddress ) : System

Creates a new Address

Address ( string hostname, IPAddress inetAddress, int port ) : System
Address ( string host, int port ) : System
Equals ( object obj ) : bool
GetAddressByName ( string name ) : IPAddress
GetHashCode ( ) : int
GetHost ( ) : string
GetInetAddress ( ) : IPAddress
GetInetSocketAddress ( ) : IPEndPoint
GetPort ( ) : int
GetScopeId ( ) : string
GetScopedHost ( ) : string
IsIPv4 ( ) : bool
IsIPv6 ( ) : bool
SetScopeId ( string scopeId ) : void
ToString ( ) : string

Private Methods

Method Description
Equals ( Address other ) : bool
Resolve ( IPEndPoint inetSocketAddress ) : IPAddress

Method Details

Address() public method

public Address ( ) : System
return System

Address() public method

public Address ( IPAddress inetAddress, int port ) : System
inetAddress System.Net.IPAddress
port int
return System

Address() public method

Creates a new Address
if inetSocketAddress is null if the address can't be resolved.
public Address ( IPEndPoint inetSocketAddress ) : System
inetSocketAddress System.Net.IPEndPoint the InetSocketAddress to use
return System

Address() public method

public Address ( string hostname, IPAddress inetAddress, int port ) : System
hostname string
inetAddress System.Net.IPAddress
port int
return System

Address() public method

public Address ( string host, int port ) : System
host string
port int
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetAddressByName() public static method

public static GetAddressByName ( string name ) : IPAddress
name string
return System.Net.IPAddress

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetHost() public method

public GetHost ( ) : string
return string

GetInetAddress() public method

public GetInetAddress ( ) : IPAddress
return System.Net.IPAddress

GetInetSocketAddress() public method

public GetInetSocketAddress ( ) : IPEndPoint
return System.Net.IPEndPoint

GetPort() public method

public GetPort ( ) : int
return int

GetScopeId() public method

public GetScopeId ( ) : string
return string

GetScopedHost() public method

public GetScopedHost ( ) : string
return string

IsIPv4() public method

public IsIPv4 ( ) : bool
return bool

IsIPv6() public method

public IsIPv6 ( ) : bool
return bool

SetScopeId() public method

public SetScopeId ( string scopeId ) : void
scopeId string
return void

ToString() public method

public ToString ( ) : string
return string