Class ConnectToHeadSuccessResponse
- java.lang.Object
-
- org.teamapps.universaldb.cluster.message.ConnectToHeadSuccessResponse
-
- All Implemented Interfaces:
ClusterMessage
public class ConnectToHeadSuccessResponse extends java.lang.Object implements ClusterMessage
-
-
Constructor Summary
Constructors Constructor Description ConnectToHeadSuccessResponse(byte[] data)ConnectToHeadSuccessResponse(long lastTransactionId, long currentTransactionId, long transactionCount)
-
Method Summary
Modifier and Type Method Description longgetCurrentTransactionId()byte[]getData()longgetLastTransactionId()longgetTransactionCount()MessageTypegetType()
-
-
-
Method Detail
-
getLastTransactionId
public long getLastTransactionId()
-
getCurrentTransactionId
public long getCurrentTransactionId()
-
getTransactionCount
public long getTransactionCount()
-
getType
public MessageType getType()
- Specified by:
getTypein interfaceClusterMessage
-
getData
public byte[] getData()
- Specified by:
getDatain interfaceClusterMessage
-
-