|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FIXTransport
FIXTransport interface describe base functionality for transport implementation.
Method Summary | |
---|---|
void |
close()
Close transport method. |
int |
getOptimalBufferSize()
Gets optimal the size of buffer. |
boolean |
isBlockingSocket()
|
void |
readMessage(MsgBuf buf)
Read message method. |
void |
waitUntilReadyToWrite()
|
void |
write(byte[] message)
Write message method. |
int |
write(byte[] message,
int offset,
int length)
Write message method. |
int |
write(ByteBuffer buf,
int offset,
int length)
|
Method Detail |
---|
boolean isBlockingSocket()
void readMessage(MsgBuf buf) throws IOException
IOException
- - if error occurredvoid write(byte[] message) throws IOException
message
- the message
IOException
- - if error occurredint write(byte[] message, int offset, int length) throws IOException
message
- the messageoffset
- the start buffer positionlength
- the length
IOException
- - if error occurredint write(ByteBuffer buf, int offset, int length) throws IOException
IOException
void waitUntilReadyToWrite() throws IOException
IOException
void close() throws IOException
IOException
- - if error occurredint getOptimalBufferSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |