Interface IFixTransport
IFIXTransport interface describe base functionality for transport implementation.
Namespace: FixAntenna.FixEngine.Transport
Assembly: FixAntenna.Core.dll
Syntax
public interface IFixTransport
Properties
IsBlockingSocket
Declaration
bool IsBlockingSocket { get; }
Property Value
Type | Description |
---|---|
System. |
OptimalBufferSize
Gets optimal the size of buffer.
Declaration
int OptimalBufferSize { get; }
Property Value
Type | Description |
---|---|
System. |
the buffer size in bytes |
RemoteHost
Gets remote host.
Declaration
string RemoteHost { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Close()
Close transport method.
Declaration
void Close()
Exceptions
Type | Condition |
---|---|
System. |
if error occurred |
ReadMessage(MsgBuf)
Read message method.
Declaration
void ReadMessage(MsgBuf buf)
Parameters
Type | Name | Description |
---|---|---|
Msg |
buf |
Exceptions
Type | Condition |
---|---|
System. |
if error occurred |
WaitUntilReadyToWrite()
Declaration
void WaitUntilReadyToWrite()
Write(ByteBuffer, Int32, Int32)
Declaration
int Write(ByteBuffer buf, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
Byte |
buf | |
System. |
offset | |
System. |
length |
Returns
Type | Description |
---|---|
System. |
Write(Byte[])
Write message method.
Declaration
void Write(byte[] message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | the message |
Exceptions
Type | Condition |
---|---|
System. |
if error occurred |
Write(Byte[], Int32, Int32)
Write message method.
Declaration
int Write(byte[] message, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | the message |
System. |
offset | the start buffer position |
System. |
length | the length |
Returns
Type | Description |
---|---|
System. |
Exceptions
Type | Condition |
---|---|
System. |
if error occurred |