public class LoggingOnState
extends java.lang.Object
OfflineConnectingState this state is responsible for Authentication by sending a Logon message.
| Modifier and Type | Field and Description |
|---|---|
protected StateContext |
context |
protected static long |
MAX_TRANSMISSION_DELAY_MS |
protected java.lang.String |
stateName |
| Constructor and Description |
|---|
LoggingOnState(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 logonResponse)
The server has authenticated the credentials and the requested session - now we need to determine what, if any, message synchronization
is needed.
|
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 LoggingOnState(StateContext context)
public void onEnter()
public void onLogonResponse(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogonResponseDecoder logonResponse)
public void onDisconnection()
public void onLogout(long msgSeqNum,
com.marketfactory.protocol.sbe4.LogoutDecoder message)
public java.lang.String getStateName()
public void onConnection()
public void onClientRequestedLogon()
public void onClientRequestedLogout()
public void onClientRequestedDisconnection()
public void onTimer(long currentTimeMillis)
public void onTestRequest(long msgSeqNum,
com.marketfactory.protocol.sbe4.TestRequestDecoder 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)