C# Класс Hazelcast.Client.Connection.ClientConnectionManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CheckLive ( ) : void
ClusterAuthenticator ( ClientConnection connection ) : void
FireConnectionListenerEvent ( Action listenerAction ) : void
FireHeartBeatEvent ( Action listenerAction ) : void
Heartbeat ( ) : void
InitializeConnection ( Address address, Authenticator authenticator ) : ClientConnection

Описание методов

AddConnectionHeartBeatListener() публичный Метод

public AddConnectionHeartBeatListener ( IConnectionHeartbeatListener connectonHeartbeatListener ) : void
connectonHeartbeatListener IConnectionHeartbeatListener
Результат void

AddConnectionListener() публичный Метод

public AddConnectionListener ( IConnectionListener connectionListener ) : void
connectionListener IConnectionListener
Результат void

ClientConnectionManager() публичный Метод

public ClientConnectionManager ( HazelcastClient client ) : System
client HazelcastClient
Результат System

DestroyConnection() публичный Метод

public DestroyConnection ( ClientConnection connection, Exception cause ) : void
connection ClientConnection
cause System.Exception
Результат void

GetConnection() публичный Метод

Gets an existing connection for the given address
public GetConnection ( Address address ) : ClientConnection
address Hazelcast.IO.Address
Результат ClientConnection

GetOrConnect() публичный Метод

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
Результат ClientConnection

GetOrConnect() публичный Метод

public GetOrConnect ( Address address, Authenticator authenticator ) : ClientConnection
address Hazelcast.IO.Address
authenticator Authenticator
Результат ClientConnection

GetOrConnectAsync() публичный Метод

public GetOrConnectAsync ( Address address ) : Task
address Hazelcast.IO.Address
Результат Task

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void