C# Class Hazelcast.IO.Address

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

Méthodes publiques

Méthode 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

Méthode Description
Equals ( Address other ) : bool
Resolve ( IPEndPoint inetSocketAddress ) : IPAddress

Method Details

Address() public méthode

public Address ( ) : System
Résultat System

Address() public méthode

public Address ( IPAddress inetAddress, int port ) : System
inetAddress System.Net.IPAddress
port int
Résultat System

Address() public méthode

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
Résultat System

Address() public méthode

public Address ( string hostname, IPAddress inetAddress, int port ) : System
hostname string
inetAddress System.Net.IPAddress
port int
Résultat System

Address() public méthode

public Address ( string host, int port ) : System
host string
port int
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetAddressByName() public static méthode

public static GetAddressByName ( string name ) : IPAddress
name string
Résultat System.Net.IPAddress

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetHost() public méthode

public GetHost ( ) : string
Résultat string

GetInetAddress() public méthode

public GetInetAddress ( ) : IPAddress
Résultat System.Net.IPAddress

GetInetSocketAddress() public méthode

public GetInetSocketAddress ( ) : IPEndPoint
Résultat System.Net.IPEndPoint

GetPort() public méthode

public GetPort ( ) : int
Résultat int

GetScopeId() public méthode

public GetScopeId ( ) : string
Résultat string

GetScopedHost() public méthode

public GetScopedHost ( ) : string
Résultat string

IsIPv4() public méthode

public IsIPv4 ( ) : bool
Résultat bool

IsIPv6() public méthode

public IsIPv6 ( ) : bool
Résultat bool

SetScopeId() public méthode

public SetScopeId ( string scopeId ) : void
scopeId string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string