C# Class Hazelcast.Client.Connection.ClientConnection

Holds the clientSocket to one of the members of Hazelcast ICluster.
Holds the clientSocket to one of the members of Hazelcast ICluster.
Afficher le fichier Open project: hazelcast/hazelcast-csharp-client Class Usage Examples

Méthodes publiques

Méthode Description
ClientConnection ( ClientConnectionManager clientConnectionManager, ClientInvocationService invocationService, int id, Address address, ClientNetworkConfig clientNetworkConfig ) : System
Close ( ) : void
GetAddress ( ) : Address
GetLocalSocketAddress ( ) : IPEndPoint
HeartbeatFailed ( ) : void
HeartbeatSucceeded ( ) : void
Init ( ISocketInterceptor socketInterceptor ) : void
IsOwner ( ) : bool
SetOwner ( ) : void
ToString ( ) : string
WriteAsync ( ISocketWritable packet ) : bool

Private Methods

Méthode Description
BeginRead ( ) : void
CheckLive ( ) : bool
EndReadCallback ( IAsyncResult asyncResult ) : void
GetSocket ( ) : Socket
HandleSocketException ( Exception e ) : void
RemoteCertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors, ClientNetworkConfig clientNetworkConfig ) : bool
StartReadWriteLoop ( ) : void
WriteQueueLoop ( ) : void

Method Details

ClientConnection() public méthode

public ClientConnection ( ClientConnectionManager clientConnectionManager, ClientInvocationService invocationService, int id, Address address, ClientNetworkConfig clientNetworkConfig ) : System
clientConnectionManager ClientConnectionManager
invocationService Hazelcast.Client.Spi.ClientInvocationService
id int
address Hazelcast.IO.Address
clientNetworkConfig Hazelcast.Config.ClientNetworkConfig
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

GetAddress() public méthode

public GetAddress ( ) : Address
Résultat Hazelcast.IO.Address

GetLocalSocketAddress() public méthode

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

HeartbeatFailed() public méthode

public HeartbeatFailed ( ) : void
Résultat void

HeartbeatSucceeded() public méthode

public HeartbeatSucceeded ( ) : void
Résultat void

Init() public méthode

public Init ( ISocketInterceptor socketInterceptor ) : void
socketInterceptor ISocketInterceptor
Résultat void

IsOwner() public méthode

public IsOwner ( ) : bool
Résultat bool

SetOwner() public méthode

public SetOwner ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

WriteAsync() public méthode

public WriteAsync ( ISocketWritable packet ) : bool
packet ISocketWritable
Résultat bool