org.quickfixj.jmx.mbean.connector
Interface ConnectorAdminMBean

All Known Subinterfaces:
SocketAcceptorAdminMBean, SocketInitiatorAdminMBean
All Known Implementing Classes:
SocketAcceptorAdmin

public interface ConnectorAdminMBean


Method Summary
 java.lang.String getHostName()
          Get the host name of the connector.
 int getQueueSize()
          The size of the underlying event queue
 java.lang.String getRole()
          The connection role.
 javax.management.openmbean.TabularData getSessions()
          Get all session who may be connected through this connector.
 void stop()
          Stop the connector after waiting for logouts.
 void stop(boolean force)
          Stop the connector.
 

Method Detail

getRole

java.lang.String getRole()
                         throws java.io.IOException
The connection role.

Returns:
"ACCEPTOR" if acceptor, "INITIATOR" if initiator.
Throws:
java.io.IOException

stop

void stop(boolean force)
          throws java.io.IOException
Stop the connector.

Parameters:
force - don't wait for normal logout from counterparty
Throws:
java.io.IOException

stop

void stop()
          throws java.io.IOException
Stop the connector after waiting for logouts.

Throws:
java.io.IOException

getSessions

javax.management.openmbean.TabularData getSessions()
                                                   throws java.io.IOException
Get all session who may be connected through this connector.

Returns:
an array of MBean object names for the sessions.
Throws:
java.io.IOException

getHostName

java.lang.String getHostName()
                             throws java.io.IOException
Get the host name of the connector.

Returns:
the name of the connector host
Throws:
java.io.IOException

getQueueSize

int getQueueSize()
The size of the underlying event queue

Returns:
size of the queue; if this counters grows, the application does not consume FIX message quick enough