C# Class Hazelcast.Client.Connection.ClientConnectionManager

Afficher le fichier Open project: hazelcast/hazelcast-csharp-client Class Usage Examples

Méthodes publiques

Méthode Description
AddConnectionHeartBeatListener ( IConnectionHeartbeatListener connectonHeartbeatListener ) : void
AddConnectionListener ( IConnectionListener connectionListener ) : void
ClientConnectionManager ( HazelcastClient client ) : System
DestroyConnection ( ClientConnection connection, Exception cause ) : void
GetConnection ( Address address ) : ClientConnection

Gets an existing connection for the given address

GetOrConnect ( Address target ) : ClientConnection

Gets the connection for the address. If there is no connection, a new one will be created

GetOrConnect ( Address address, Authenticator authenticator ) : ClientConnection
GetOrConnectAsync ( Address address ) : Task
Shutdown ( ) : void
Start ( ) : void

Private Methods

Méthode Description
CheckLive ( ) : void
ClusterAuthenticator ( ClientConnection connection ) : void
FireConnectionListenerEvent ( Action listenerAction ) : void
FireHeartBeatEvent ( Action listenerAction ) : void
Heartbeat ( ) : void
InitializeConnection ( Address address, Authenticator authenticator ) : ClientConnection

Method Details

AddConnectionHeartBeatListener() public méthode

public AddConnectionHeartBeatListener ( IConnectionHeartbeatListener connectonHeartbeatListener ) : void
connectonHeartbeatListener IConnectionHeartbeatListener
Résultat void

AddConnectionListener() public méthode

public AddConnectionListener ( IConnectionListener connectionListener ) : void
connectionListener IConnectionListener
Résultat void

ClientConnectionManager() public méthode

public ClientConnectionManager ( HazelcastClient client ) : System
client HazelcastClient
Résultat System

DestroyConnection() public méthode

public DestroyConnection ( ClientConnection connection, Exception cause ) : void
connection ClientConnection
cause System.Exception
Résultat void

GetConnection() public méthode

Gets an existing connection for the given address
public GetConnection ( Address address ) : ClientConnection
address Hazelcast.IO.Address
Résultat ClientConnection

GetOrConnect() public méthode

Gets the connection for the address. If there is no connection, a new one will be created
public GetOrConnect ( Address target ) : ClientConnection
target Hazelcast.IO.Address
Résultat ClientConnection

GetOrConnect() public méthode

public GetOrConnect ( Address address, Authenticator authenticator ) : ClientConnection
address Hazelcast.IO.Address
authenticator Authenticator
Résultat ClientConnection

GetOrConnectAsync() public méthode

public GetOrConnectAsync ( Address address ) : Task
address Hazelcast.IO.Address
Résultat Task

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void