public class ManagedFixAdapter extends DefaultFixAdapter
FixAdapter
.
This class an its public methods are available through JMX.Constructor and Description |
---|
ManagedFixAdapter(SocketInitiator socketInitiator,
LookupService lookupService,
FixEventScheduler eventScheduler,
OrderIdGenerator orderIdGenerator) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.util.Map<java.lang.String,ConnectionState> |
getApplicationFactoryConnectionStates()
Returns the connection state of all application factories
|
IntegerMap<java.lang.String> |
getOrderIds()
gets the current orderIds for all active sessions
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getSessionLogonStates()
Returns the logon state of all active sessions
|
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setOrderId(java.lang.String sessionQualifier,
int orderId)
Sets the orderId for the defined session (will be incremented by 1 for the next order)
|
closeSession, createSession, createSessionForService, getNextOrderId, getSession, openSession, openSessionForService, reset, sendMessage, sendMessage
public ManagedFixAdapter(SocketInitiator socketInitiator, LookupService lookupService, FixEventScheduler eventScheduler, OrderIdGenerator orderIdGenerator)
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
BeansException
public void afterPropertiesSet() throws java.lang.Exception
java.lang.Exception
public java.util.Map<java.lang.String,ConnectionState> getApplicationFactoryConnectionStates()
public java.util.Map<java.lang.String,java.lang.Boolean> getSessionLogonStates()
public IntegerMap<java.lang.String> getOrderIds()
public void setOrderId(java.lang.String sessionQualifier, int orderId)
setOrderId
in interface FixAdapter
setOrderId
in class DefaultFixAdapter