C# 클래스 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.
파일 보기 프로젝트 열기: hazelcast/hazelcast-csharp-client 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ClientConnection() 공개 메소드

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
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetAddress() 공개 메소드

public GetAddress ( ) : Address
리턴 Hazelcast.IO.Address

GetLocalSocketAddress() 공개 메소드

public GetLocalSocketAddress ( ) : IPEndPoint
리턴 System.Net.IPEndPoint

HeartbeatFailed() 공개 메소드

public HeartbeatFailed ( ) : void
리턴 void

HeartbeatSucceeded() 공개 메소드

public HeartbeatSucceeded ( ) : void
리턴 void

Init() 공개 메소드

public Init ( ISocketInterceptor socketInterceptor ) : void
socketInterceptor ISocketInterceptor
리턴 void

IsOwner() 공개 메소드

public IsOwner ( ) : bool
리턴 bool

SetOwner() 공개 메소드

public SetOwner ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WriteAsync() 공개 메소드

public WriteAsync ( ISocketWritable packet ) : bool
packet ISocketWritable
리턴 bool