Class ConnectChannelPacket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.AbstractReplicationPacket<Object>
com.gigaspaces.internal.cluster.node.impl.router.AbstractGroupNameReplicationPacket<Object>
com.gigaspaces.internal.cluster.node.impl.packets.ConnectChannelPacket
- All Implemented Interfaces:
Textualizable, SmartExternalizable, Externalizable, Serializable
Replication packet that is used to establish replication channels between a
IReplicationSourceGroup and a IReplicationTargetGroup- Since:
- 8.0
- Author:
- eitany
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnectChannelPacket(String groupName, RouterStubHolder routerStubHolder, ConnectChannelHandshakeRequest channelHandshakeRequest) -
Method Summary
Modifier and TypeMethodDescriptionaccept(IIncomingReplicationFacade replicationFacade) Process the replication packet at the target side.voidreadExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) voidtoText(Textualizer textualizer) voidwriteExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) Methods inherited from class AbstractGroupNameReplicationPacket
getGroupName, getTargetGroup, readExternal, writeExternalMethods inherited from class AbstractReplicationPacket
getSourceEndpointDetails, getSourceLookupName, getSourceUniqueId, setSourceEndpointDetails, toIdString, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ConnectChannelPacket
public ConnectChannelPacket() -
ConnectChannelPacket
public ConnectChannelPacket(String groupName, RouterStubHolder routerStubHolder, ConnectChannelHandshakeRequest channelHandshakeRequest)
-
-
Method Details
-
accept
Description copied from class:AbstractReplicationPacketProcess the replication packet at the target side.- Specified by:
acceptin classAbstractReplicationPacket<Object>- Returns:
- process result
-
getChannelHandshakeRequest
-
getRouterStubHolder
-
readExternalImpl
public void readExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) throws IOException, ClassNotFoundException - Specified by:
readExternalImplin classAbstractReplicationPacket<Object>- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
public void writeExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) throws IOException - Specified by:
writeExternalImplin classAbstractReplicationPacket<Object>- Throws:
IOException
-
toText
- Specified by:
toTextin interfaceTextualizable- Overrides:
toTextin classAbstractGroupNameReplicationPacket<Object>
-