public class ServerToClientSyncState
extends java.lang.Object
Example:
Things to note:
| Modifier and Type | Field and Description |
|---|---|
protected StateContext |
context |
protected static long |
MAX_TRANSMISSION_DELAY_MS |
protected java.lang.String |
stateName |
| Constructor and Description |
|---|
ServerToClientSyncState(StateContext context,
long serverNextExpectedMsgSeqNum,
long serverLogonMsgSeqNum,
boolean requiresClientToServerSynchronization) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStateName() |
void |
onBusinessMessageReject(long msgSeqNum,
com.marketfactory.protocol.sbe4.BusinessMessageRejectDecoder message) |
void |
onClientRequestedDisconnection() |
void |
onClientRequestedLogon() |
void |
onClientRequestedLogout() |
void |
onConnection() |
void |
onDisconnection() |
void |
onEnter() |
void |
onErrorReport(long msgSeqNum,
com.marketfactory.protocol.sbe4.ErrorReportDecoder message) |
void |
onHeartbeat(long msgSeqNum,
com.marketfactory.protocol.sbe4.HeartbeatDecoder message) |
void |
onLogonResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogonResponseDecoder message) |
void |
onLogout(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutDecoder message) |
void |
onLogoutResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutResponseDecoder message) |
void |
onSequenceResetGapFill(long msgSeqNum,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder message) |
void |
onTestRequest(long msgSeqNum,
com.marketfactory.protocol.sbe4.TestRequestDecoder message) |
void |
onTimer(long currentTimeMillis) |
void |
onUserNotification(long msgSeqNum,
com.marketfactory.protocol.sbe4.UserNotificationDecoder message) |
protected static final long MAX_TRANSMISSION_DELAY_MS
protected final StateContext context
protected final java.lang.String stateName
public ServerToClientSyncState(StateContext context, long serverNextExpectedMsgSeqNum, long serverLogonMsgSeqNum, boolean requiresClientToServerSynchronization)
public void onTestRequest(long msgSeqNum,
com.marketfactory.protocol.sbe4.TestRequestDecoder message)
public void onSequenceResetGapFill(long msgSeqNum,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder message)
public java.lang.String getStateName()
public void onEnter()
public void onDisconnection()
public void onConnection()
public void onClientRequestedLogon()
public void onClientRequestedLogout()
public void onClientRequestedDisconnection()
public void onTimer(long currentTimeMillis)
public void onLogout(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutDecoder message)
public void onLogonResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogonResponseDecoder message)
public void onLogoutResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutResponseDecoder message)
public void onHeartbeat(long msgSeqNum,
com.marketfactory.protocol.sbe4.HeartbeatDecoder message)
public void onUserNotification(long msgSeqNum,
com.marketfactory.protocol.sbe4.UserNotificationDecoder message)
public void onBusinessMessageReject(long msgSeqNum,
com.marketfactory.protocol.sbe4.BusinessMessageRejectDecoder message)
public void onErrorReport(long msgSeqNum,
com.marketfactory.protocol.sbe4.ErrorReportDecoder message)