public class OfflineWaitingState
extends java.lang.Object
Represents a disconnected state. Will do nothing until an onStart event is received to move to the OfflineConnectingState
| Modifier and Type | Field and Description |
|---|---|
protected StateContext |
context |
protected static long |
MAX_TRANSMISSION_DELAY_MS |
protected java.lang.String |
stateName |
| Constructor and Description |
|---|
OfflineWaitingState(StateContext context) |
| 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 OfflineWaitingState(StateContext context)
public void onEnter()
public void onClientRequestedLogon()
public void onDisconnection()
public java.lang.String getStateName()
public void onConnection()
public void onClientRequestedLogout()
public void onClientRequestedDisconnection()
public void onTimer(long currentTimeMillis)
public void onLogout(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutDecoder message)
public void onTestRequest(long msgSeqNum,
com.marketfactory.protocol.sbe4.TestRequestDecoder 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 onSequenceResetGapFill(long msgSeqNum,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder message)
public void onBusinessMessageReject(long msgSeqNum,
com.marketfactory.protocol.sbe4.BusinessMessageRejectDecoder message)
public void onErrorReport(long msgSeqNum,
com.marketfactory.protocol.sbe4.ErrorReportDecoder message)