public class ReplicationConnectionDelegator extends LusExportedReplicationComponent implements IIncomingReplicationHandler, IConnectionStateListener
Modifier and Type | Class and Description |
---|---|
class |
ReplicationConnectionDelegator.ReverseConnection |
Constructor and Description |
---|
ReplicationConnectionDelegator(String mySiteName,
String targetLookupName,
String routingLookupName,
IReplicationLookupFinderService finderService,
IReplicationLookupRegistrationService registrationService,
IReplicationLookupParameters lookupParametersTemplate,
IReplicationLookupParameters registrationParameters,
IServiceExporter serviceExporter) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterRegistrationInitiated()
Called once the component is registration at the lookup service is initiated.
|
String |
dumpState() |
ReplicationConnectionDelegatorStatistics |
getStatistics() |
String |
getTargetLookupName() |
protected void |
onClose() |
void |
onConnected(boolean newTarget) |
void |
onDisconnected() |
protected <T> T |
onDispatch(AbstractReplicationPacket<T> packet)
Called once an incoming packet is dispatched
|
void |
onRegistered() |
<T> T |
onReplication(AbstractReplicationPacket<T> packet)
Handles incoming replication packet
|
close, dispatch, dispatchAsync, getMyLookupName, getMyRegistrationParameters, getMySiteName, getMyUuid, getServiceExporter, initRegistration, isAvailable
public ReplicationConnectionDelegator(String mySiteName, String targetLookupName, String routingLookupName, IReplicationLookupFinderService finderService, IReplicationLookupRegistrationService registrationService, IReplicationLookupParameters lookupParametersTemplate, IReplicationLookupParameters registrationParameters, IServiceExporter serviceExporter)
public String getTargetLookupName()
protected <T> T onDispatch(AbstractReplicationPacket<T> packet) throws RemoteException
LusExportedReplicationComponent
onDispatch
in class LusExportedReplicationComponent
RemoteException
protected void afterRegistrationInitiated()
LusExportedReplicationComponent
afterRegistrationInitiated
in class LusExportedReplicationComponent
public void onRegistered()
onRegistered
in interface IReplicationLookupRegistrationListener
public void onConnected(boolean newTarget)
onConnected
in interface IConnectionStateListener
public void onDisconnected()
onDisconnected
in interface IConnectionStateListener
protected void onClose()
onClose
in class LusExportedReplicationComponent
public <T> T onReplication(AbstractReplicationPacket<T> packet) throws RemoteException
IIncomingReplicationHandler
onReplication
in interface IIncomingReplicationHandler
packet
- incoming packetRemoteException
public ReplicationConnectionDelegatorStatistics getStatistics()
public String dumpState()
Copyright © GigaSpaces.