|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.cmemdp.impl.transport.fix.FIXFastTransport
public class FIXFastTransport
Created by IntelliJ IDEA. User: Alexander_Sereda Date: 24.11.11 Time: 12:32 To change this template use File | Settings | File Templates.
Nested Class Summary | |
---|---|
class |
FIXFastTransport.SimpleRecoveryAdapter
process request in one thread |
Field Summary | |
---|---|
FIXFastTransport.SimpleRecoveryAdapter |
adaptor
|
static boolean |
DEBUG_ENABLED
|
static boolean |
TRACE_ENABLED
|
Constructor Summary | |
---|---|
FIXFastTransport(Connection primary,
Connection backup)
|
Method Summary | |
---|---|
void |
connect(StreamListener listener)
Connect to stream. |
void |
disconnect(StreamListener listener)
Disconnect to stream. |
void |
dispose()
Dispose the transport. |
boolean |
isConnect()
Check if stream is connected. |
void |
removeMessageStreamListener(StreamListener listener)
Remove message stream listener. |
void |
send(FIXFieldList message)
|
void |
setMessageStreamListener(StreamListener listener)
Sets message stream listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean TRACE_ENABLED
public static final boolean DEBUG_ENABLED
public FIXFastTransport.SimpleRecoveryAdapter adaptor
Constructor Detail |
---|
public FIXFastTransport(Connection primary, Connection backup)
Method Detail |
---|
public void send(FIXFieldList message) throws java.io.IOException
send
in interface FIXTransport
java.io.IOException
public void setMessageStreamListener(StreamListener listener)
StreamTransport
setMessageStreamListener
in interface StreamTransport
listener
- the listenerpublic void removeMessageStreamListener(StreamListener listener)
StreamTransport
removeMessageStreamListener
in interface StreamTransport
listener
- the listenerpublic void connect(StreamListener listener) throws java.io.IOException
StreamTransport
connect
in interface StreamTransport
listener
- the listener
java.io.IOException
- if error occurredpublic boolean isConnect()
StreamTransport
isConnect
in interface StreamTransport
public void disconnect(StreamListener listener) throws java.io.IOException
StreamTransport
disconnect
in interface StreamTransport
listener
- the listener
java.io.IOException
- if error occurredpublic void dispose() throws java.io.IOException
StreamTransport
This methods disconnect from stream and cleans all subscribed listeners.
dispose
in interface StreamTransport
java.io.IOException
- if error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |