com.hazelcast.client
Interface ClientExtension

All Known Implementing Classes:
DefaultClientExtension

public interface ClientExtension

ClientExtension is a client extension mechanism to be able to plug different implementations of some modules, like; SerializationService, SocketChannelWrapperFactory etc.


Method Summary
 void afterStart(HazelcastClientInstanceImpl client)
          Called after node is started
 void beforeStart(HazelcastClientInstanceImpl client)
          Called before client is started
 SerializationService createSerializationService()
          Creates a SerializationService instance to be used by this client.
 SocketChannelWrapperFactory getSocketChannelWrapperFactory()
          Returns SocketChannelWrapperFactory instance to be used by this client.
 SocketInterceptor getSocketInterceptor()
          Returns SocketInterceptor for this client if available, otherwise returns null.
 

Method Detail

beforeStart

void beforeStart(HazelcastClientInstanceImpl client)
Called before client is started


afterStart

void afterStart(HazelcastClientInstanceImpl client)
Called after node is started


createSerializationService

SerializationService createSerializationService()
Creates a SerializationService instance to be used by this client.

Returns:
a SerializationService instance

getSocketInterceptor

SocketInterceptor getSocketInterceptor()
Returns SocketInterceptor for this client if available, otherwise returns null.

Returns:
SocketInterceptor

getSocketChannelWrapperFactory

SocketChannelWrapperFactory getSocketChannelWrapperFactory()
Returns SocketChannelWrapperFactory instance to be used by this client.

Returns:
SocketChannelWrapperFactory


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.