public class DisconnectingFromGatewayState
extends java.lang.Object
LogoutResponseDecoder
within heartbeat interval + MAX_TRANSMISSION_DELAY seconds. On receipt of this message or expiry of the wait time the client will
disconnect.| Modifier and Type | Field and Description |
|---|---|
protected StateContext |
context |
protected static long |
MAX_TRANSMISSION_DELAY_MS |
protected java.lang.String |
stateName |
| Modifier | Constructor and Description |
|---|---|
protected |
DisconnectingFromGatewayState(StateContext context,
int heartbeatIntervalSeconds) |
| 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 logoutResponse) |
void |
onSequenceResetGapFill(long msgSeqNum,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder message) |
void |
onTestRequest(long msgSeqNum,
com.marketfactory.protocol.sbe4.TestRequestDecoder message) |
void |
onTimer(long currentTimeMs) |
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
protected DisconnectingFromGatewayState(StateContext context, int heartbeatIntervalSeconds)
public void onEnter()
public void onTimer(long currentTimeMs)
public void onDisconnection()
public void onLogoutResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutResponseDecoder logoutResponse)
public void onUserNotification(long msgSeqNum,
com.marketfactory.protocol.sbe4.UserNotificationDecoder message)
public java.lang.String getStateName()
public void onConnection()
public void onClientRequestedLogon()
public void onClientRequestedLogout()
public void onClientRequestedDisconnection()
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 onHeartbeat(long msgSeqNum,
com.marketfactory.protocol.sbe4.HeartbeatDecoder 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)