|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.quickfixj.jmx.mbean.session.SessionAdmin
public class SessionAdmin
Constructor Summary | |
---|---|
SessionAdmin(Session session,
javax.management.ObjectName connnectorName)
|
Method Summary | |
---|---|
void |
disconnect()
Tell the session to disconnect (implies logoff) |
protected void |
doSend(Message message,
SessionID sessionID)
Helper method to be overridden by tests that handles sending out the message |
java.lang.String |
getBeginString()
Get the begin string (FIX version) for the session |
boolean |
getCheckCompID()
|
java.lang.String |
getConnectionRole()
|
javax.management.ObjectName |
getConnectorName()
|
boolean |
getEnabled()
|
java.lang.String |
getHost()
|
java.lang.String |
getID()
|
java.lang.String |
getLogClassName()
|
int |
getLogonTimeout()
|
int |
getLogoutTimeout()
|
java.lang.String |
getMessageFactoryClassName()
|
java.lang.String[] |
getMessages(int startSequence,
int endSequence)
|
java.lang.String |
getMessageStoreClassName()
|
int |
getNextSenderMsgSeqNum()
Get the next sender message sequence number. |
int |
getNextTargetMsgSeqNum()
Get the next target message sequence number. |
java.lang.String |
getProcessID()
|
boolean |
getRedundantResendRequestsAllowed()
|
boolean |
getRefreshOnLogon()
|
java.lang.String |
getRemoteIPAddress()
|
boolean |
getResetOnDisconnect()
|
boolean |
getResetOnLogout()
|
java.lang.String |
getSenderCompID()
Get the sender company ID for the session. |
java.lang.String |
getSenderLocationID()
Get the sender company location ID for the session. |
java.lang.String |
getSenderSubID()
Get the sender company subID for the session. |
java.lang.String |
getSessionID()
Get the session ID. |
java.lang.String |
getStartTime()
|
java.lang.String |
getTargetCompID()
Get the target company ID for the session. |
java.lang.String |
getTargetLocationID()
Get the target location ID for the session. |
java.lang.String |
getTargetSubID()
Get the target subID for the session. |
boolean |
isLoggedOn()
|
boolean |
isLogonAlreadySent()
|
boolean |
isLogonReceived()
|
boolean |
isLogonSendNeeded()
|
boolean |
isLogonSent()
|
boolean |
isLogonTimedOut()
|
boolean |
isLogoutReceived()
|
boolean |
isLogoutSent()
|
boolean |
isLogoutTimedOut()
|
boolean |
isReconnectEnabled()
|
boolean |
isUsingDataDictionary()
|
void |
logoff()
Tell the session to logoff. |
void |
logon()
Tell the session to logon. |
void |
onConnect()
|
void |
onDisconnect()
|
void |
onHeartBeatTimeout()
|
void |
onLogon()
|
void |
onLogout()
|
void |
onMissedHeartBeat()
|
void |
onRefresh()
|
void |
onReset()
|
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
reset()
Reset the session's sequence numbers and clear it's resend log. |
void |
resetSequence(int nextSeqNum)
Reset current sequence number |
void |
setLogonTimeout(int seconds)
|
void |
setLogoutTimeout(int seconds)
|
void |
setNextSenderMsgSeqNum(int next)
Set the next sender message sequence number. |
void |
setNextTargetMsgSeqNum(int next)
Set the next target message sequence number. |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionAdmin(Session session, javax.management.ObjectName connnectorName)
Method Detail |
---|
public java.lang.String getID()
public java.lang.String getTargetCompID()
SessionAdminMBean
getTargetCompID
in interface SessionAdminMBean
public java.lang.String getTargetSubID()
SessionAdminMBean
getTargetSubID
in interface SessionAdminMBean
public java.lang.String getTargetLocationID()
SessionAdminMBean
getTargetLocationID
in interface SessionAdminMBean
public java.lang.String getSenderCompID()
SessionAdminMBean
getSenderCompID
in interface SessionAdminMBean
public java.lang.String getSenderSubID()
SessionAdminMBean
getSenderSubID
in interface SessionAdminMBean
public java.lang.String getSenderLocationID()
SessionAdminMBean
getSenderLocationID
in interface SessionAdminMBean
public java.lang.String getBeginString()
SessionAdminMBean
getBeginString
in interface SessionAdminMBean
public boolean isLoggedOn()
isLoggedOn
in interface SessionAdminMBean
public java.lang.String getRemoteIPAddress()
public void reset() throws java.io.IOException
SessionAdminMBean
reset
in interface SessionAdminMBean
java.io.IOException
public int getNextSenderMsgSeqNum() throws java.io.IOException
SessionAdminMBean
getNextSenderMsgSeqNum
in interface SessionAdminMBean
java.io.IOException
public void setNextSenderMsgSeqNum(int next) throws java.io.IOException
SessionAdminMBean
setNextSenderMsgSeqNum
in interface SessionAdminMBean
next
- next sender message sequence number
java.io.IOException
public void setNextTargetMsgSeqNum(int next) throws java.io.IOException
SessionAdminMBean
setNextTargetMsgSeqNum
in interface SessionAdminMBean
next
- the next target message sequence number
java.io.IOException
public int getNextTargetMsgSeqNum() throws java.io.IOException
SessionAdminMBean
getNextTargetMsgSeqNum
in interface SessionAdminMBean
java.io.IOException
public java.lang.String[] getMessages(int startSequence, int endSequence) throws java.io.IOException
java.io.IOException
public void disconnect() throws java.io.IOException
SessionAdminMBean
disconnect
in interface SessionAdminMBean
java.io.IOException
public void resetSequence(int nextSeqNum) throws SessionNotFound
SessionAdminMBean
resetSequence
in interface SessionAdminMBean
SessionNotFound
protected void doSend(Message message, SessionID sessionID) throws SessionNotFound
SessionNotFound
public void logon()
SessionAdminMBean
logon
in interface SessionAdminMBean
public void logoff()
SessionAdminMBean
logoff
in interface SessionAdminMBean
public boolean isReconnectEnabled()
public java.lang.String getHost()
public java.lang.String getProcessID()
public javax.management.ObjectName getConnectorName()
getConnectorName
in interface SessionAdminMBean
public boolean getCheckCompID()
getCheckCompID
in interface SessionAdminMBean
public java.lang.String getLogClassName()
getLogClassName
in interface SessionAdminMBean
public int getLogonTimeout()
getLogonTimeout
in interface SessionAdminMBean
public int getLogoutTimeout()
getLogoutTimeout
in interface SessionAdminMBean
public java.lang.String getMessageFactoryClassName()
getMessageFactoryClassName
in interface SessionAdminMBean
public java.lang.String getMessageStoreClassName()
getMessageStoreClassName
in interface SessionAdminMBean
public boolean getRedundantResendRequestsAllowed()
getRedundantResendRequestsAllowed
in interface SessionAdminMBean
public boolean getRefreshOnLogon()
getRefreshOnLogon
in interface SessionAdminMBean
public boolean getResetOnDisconnect()
getResetOnDisconnect
in interface SessionAdminMBean
public boolean getResetOnLogout()
getResetOnLogout
in interface SessionAdminMBean
public boolean isLogonAlreadySent()
isLogonAlreadySent
in interface SessionAdminMBean
public boolean isLogonReceived()
isLogonReceived
in interface SessionAdminMBean
public boolean isLogonSendNeeded()
isLogonSendNeeded
in interface SessionAdminMBean
public boolean isLogonSent()
isLogonSent
in interface SessionAdminMBean
public boolean isLogonTimedOut()
isLogonTimedOut
in interface SessionAdminMBean
public boolean isLogoutReceived()
isLogoutReceived
in interface SessionAdminMBean
public boolean isLogoutSent()
isLogoutSent
in interface SessionAdminMBean
public boolean isLogoutTimedOut()
isLogoutTimedOut
in interface SessionAdminMBean
public void setLogonTimeout(int seconds)
setLogonTimeout
in interface SessionAdminMBean
public void setLogoutTimeout(int seconds)
setLogoutTimeout
in interface SessionAdminMBean
public boolean isUsingDataDictionary()
isUsingDataDictionary
in interface SessionAdminMBean
public java.lang.String getSessionID()
SessionAdminMBean
getSessionID
in interface SessionAdminMBean
public boolean getEnabled()
getEnabled
in interface SessionAdminMBean
public java.lang.String getStartTime()
getStartTime
in interface SessionAdminMBean
public java.lang.String getConnectionRole()
getConnectionRole
in interface SessionAdminMBean
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
public void postRegister(java.lang.Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void onConnect()
onConnect
in interface SessionStateListener
public void onDisconnect()
onDisconnect
in interface SessionStateListener
public void onLogon()
onLogon
in interface SessionStateListener
public void onLogout()
onLogout
in interface SessionStateListener
public void onHeartBeatTimeout()
onHeartBeatTimeout
in interface SessionStateListener
public void onMissedHeartBeat()
onMissedHeartBeat
in interface SessionStateListener
public void onRefresh()
onRefresh
in interface SessionStateListener
public void onReset()
onReset
in interface SessionStateListener
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |