C# Class Hazelcast.Client.Spi.ClientInvocationService

Inheritance: IClientInvocationService, IConnectionListener, IConnectionHeartbeatListener
Afficher le fichier Open project: hazelcast/hazelcast-csharp-client Class Usage Examples

Private Properties

Свойство Type Description
CleanupEventHandlers void
CleanupInvocations void
EnsureOwnerConnectionAvailable void
GetConnection Hazelcast.Client.Connection.ClientConnection
GetNewInvocationAddress Hazelcast.IO.Address
GetRandomAddress Hazelcast.IO.Address
GetRegistrationIdFromResponse string
HandleEventMessage void
HandleInvocationException void
HandleResponseMessage void
InvokeInternal void
NextCorrelationId long
ReregisterListener IFuture
ShouldRetryInvocation bool
TryRegisterInvocation bool
TrySend bool
UnregisterInvocation void
UpdateInvocation void
ValidateInvocation void

Méthodes publiques

Méthode Description
CleanUpConnectionResources ( ClientConnection connection ) : void
ConnectionAdded ( ClientConnection connection ) : void
ConnectionRemoved ( ClientConnection connection ) : void
HandleClientMessage ( IClientMessage message ) : void
InvokeListenerOnConnection ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder, ClientConnection connection ) : IFuture
InvokeListenerOnKeyOwner ( IClientMessage request, object key, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnPartition ( IClientMessage request, int partitionId, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnRandomTarget ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnTarget ( IClientMessage request, Address target, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeOnConnection ( IClientMessage request, ClientConnection connection, bool bypassHeartbeat = false ) : IFuture
InvokeOnKeyOwner ( IClientMessage request, object key ) : IFuture
InvokeOnMember ( IClientMessage request, IMember member ) : IFuture
InvokeOnPartition ( IClientMessage request, int partitionId ) : IFuture
InvokeOnRandomTarget ( IClientMessage request ) : IFuture
InvokeOnTarget ( IClientMessage request, Address target ) : IFuture
RemoveEventHandler ( long correlationId ) : bool
Shutdown ( ) : void

Méthodes protégées

Méthode Description
ClientInvocationService ( HazelcastClient client ) : System
Invoke ( ClientInvocation invocation, Address address = null ) : IFuture

Private Methods

Méthode Description
CleanupEventHandlers ( ClientConnection connection ) : void
CleanupInvocations ( ClientConnection connection ) : void
EnsureOwnerConnectionAvailable ( ) : void
GetConnection ( Address address ) : ClientConnection
GetNewInvocationAddress ( ClientInvocation invocation ) : Address
GetRandomAddress ( ) : Address
GetRegistrationIdFromResponse ( Hazelcast.Client.Spi.ClientListenerInvocation invocation ) : string
HandleEventMessage ( IClientMessage eventMessage ) : void
HandleInvocationException ( ClientInvocation invocation, Exception exception ) : void
HandleResponseMessage ( IClientMessage response ) : void
InvokeInternal ( ClientInvocation invocation, Address address = null, ClientConnection connection = null, bool bypassHeartbeat = false ) : void
NextCorrelationId ( ) : long
ReregisterListener ( ClientListenerInvocation invocation ) : IFuture
ShouldRetryInvocation ( ClientInvocation invocation, Exception exception ) : bool
TryRegisterInvocation ( long correlationId, ClientInvocation request ) : bool
TrySend ( ClientInvocation clientInvocation, ClientConnection connection ) : bool
UnregisterInvocation ( long correlationId ) : void
UpdateInvocation ( ClientInvocation clientInvocation, ClientConnection connection ) : void
ValidateInvocation ( ClientInvocation clientInvocation, ClientConnection connection, bool bypassHeartbeat ) : void

Method Details

CleanUpConnectionResources() public méthode

public CleanUpConnectionResources ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Résultat void

ClientInvocationService() protected méthode

protected ClientInvocationService ( HazelcastClient client ) : System
client HazelcastClient
Résultat System

ConnectionAdded() public méthode

public ConnectionAdded ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Résultat void

ConnectionRemoved() public méthode

public ConnectionRemoved ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Résultat void

HandleClientMessage() public méthode

public HandleClientMessage ( IClientMessage message ) : void
message IClientMessage
Résultat void

Invoke() protected méthode

protected Invoke ( ClientInvocation invocation, Address address = null ) : IFuture
invocation ClientInvocation
address Hazelcast.IO.Address
Résultat IFuture

InvokeListenerOnConnection() public méthode

public InvokeListenerOnConnection ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder, ClientConnection connection ) : IFuture
request IClientMessage
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
connection Hazelcast.Client.Connection.ClientConnection
Résultat IFuture

InvokeListenerOnKeyOwner() public abstract méthode

public abstract InvokeListenerOnKeyOwner ( IClientMessage request, object key, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
key object
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Résultat IFuture

InvokeListenerOnPartition() public abstract méthode

public abstract InvokeListenerOnPartition ( IClientMessage request, int partitionId, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
partitionId int
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Résultat IFuture

InvokeListenerOnRandomTarget() public abstract méthode

public abstract InvokeListenerOnRandomTarget ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Résultat IFuture

InvokeListenerOnTarget() public abstract méthode

public abstract InvokeListenerOnTarget ( IClientMessage request, Address target, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
target Hazelcast.IO.Address
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Résultat IFuture

InvokeOnConnection() public méthode

public InvokeOnConnection ( IClientMessage request, ClientConnection connection, bool bypassHeartbeat = false ) : IFuture
request IClientMessage
connection Hazelcast.Client.Connection.ClientConnection
bypassHeartbeat bool
Résultat IFuture

InvokeOnKeyOwner() public abstract méthode

public abstract InvokeOnKeyOwner ( IClientMessage request, object key ) : IFuture
request IClientMessage
key object
Résultat IFuture

InvokeOnMember() public abstract méthode

public abstract InvokeOnMember ( IClientMessage request, IMember member ) : IFuture
request IClientMessage
member IMember
Résultat IFuture

InvokeOnPartition() public abstract méthode

public abstract InvokeOnPartition ( IClientMessage request, int partitionId ) : IFuture
request IClientMessage
partitionId int
Résultat IFuture

InvokeOnRandomTarget() public abstract méthode

public abstract InvokeOnRandomTarget ( IClientMessage request ) : IFuture
request IClientMessage
Résultat IFuture

InvokeOnTarget() public abstract méthode

public abstract InvokeOnTarget ( IClientMessage request, Address target ) : IFuture
request IClientMessage
target Address
Résultat IFuture

RemoveEventHandler() public méthode

public RemoveEventHandler ( long correlationId ) : bool
correlationId long
Résultat bool

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void