quickfix.mina
Class IoSessionResponder

java.lang.Object
  extended by quickfix.mina.IoSessionResponder
All Implemented Interfaces:
Responder

public class IoSessionResponder
extends java.lang.Object
implements Responder

The class that partially integrates the QuickFIX/J Session to a the MINA networking code.


Constructor Summary
IoSessionResponder(org.apache.mina.common.IoSession session, boolean synchronousWrites, long synchronousWriteTimeout)
           
 
Method Summary
 void disconnect()
          Disconnect the underlying connection.
 java.lang.String getRemoteIPAddress()
          Provides remote IP address of the session connection, if any.
 boolean send(java.lang.String data)
          Send a raw FIX message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoSessionResponder

public IoSessionResponder(org.apache.mina.common.IoSession session,
                          boolean synchronousWrites,
                          long synchronousWriteTimeout)
Method Detail

send

public boolean send(java.lang.String data)
Description copied from interface: Responder
Send a raw FIX message

Specified by:
send in interface Responder
Parameters:
data - the raw FIX message data
Returns:
true is successful, false if send operation failed

disconnect

public void disconnect()
Description copied from interface: Responder
Disconnect the underlying connection.

Specified by:
disconnect in interface Responder

getRemoteIPAddress

public java.lang.String getRemoteIPAddress()
Description copied from interface: Responder
Provides remote IP address of the session connection, if any.

Specified by:
getRemoteIPAddress in interface Responder
Returns:
remote IP address if connected, empty string if not.