public class AbstractFIXSession.ConsumingControlTransportWrapper extends Object implements FIXTransport
Modifier and Type | Method and Description |
---|---|
void |
close()
Close transport method.
|
String |
getAddress() |
int |
getOptimalBufferSize()
Gets optimal the size of buffer.
|
void |
handle(int toWrite,
int written,
long begin,
long end) |
boolean |
isBlockingSocket() |
void |
readMessage(MsgBuf buf)
Read message method.
|
void |
setRawTags(RawFIXUtil.RawTags rawTags) |
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) |
public boolean isBlockingSocket()
isBlockingSocket
in interface FIXTransport
public void readMessage(MsgBuf buf) throws IOException
FIXTransport
readMessage
in interface FIXTransport
IOException
- - if error occurredpublic void write(byte[] message) throws IOException
FIXTransport
write
in interface FIXTransport
message
- the messageIOException
- - if error occurredpublic void waitUntilReadyToWrite() throws IOException
waitUntilReadyToWrite
in interface FIXTransport
IOException
public void close() throws IOException
FIXTransport
close
in interface FIXTransport
IOException
- - if error occurredpublic void setRawTags(RawFIXUtil.RawTags rawTags)
setRawTags
in interface FIXTransport
public int getOptimalBufferSize()
FIXTransport
getOptimalBufferSize
in interface FIXTransport
public String getAddress()
getAddress
in interface FIXTransport
public int write(byte[] message, int offset, int length) throws IOException
FIXTransport
write
in interface FIXTransport
message
- the messageoffset
- the start buffer positionlength
- the lengthIOException
- - if error occurredpublic int write(ByteBuffer buf, int offset, int length) throws IOException
write
in interface FIXTransport
IOException
public void handle(int toWrite, int written, long begin, long end)
Copyright © 2000–2022 EPAM Systems. All rights reserved.