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.Boolean |
OptimalBufferSize
Gets optimal the size of buffer.
Declaration
int OptimalBufferSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 | the buffer size in bytes |
RemoteHost
Gets remote host.
Declaration
string RemoteHost { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Close()
Close transport method.
Declaration
void Close()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if error occurred |
ReadMessage(MsgBuf)
Read message method.
Declaration
void ReadMessage(MsgBuf buf)
Parameters
Type | Name | Description |
---|---|---|
MsgBuf | buf |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if error occurred |
WaitUntilReadyToWrite()
Declaration
void WaitUntilReadyToWrite()
Write(ByteBuffer, Int32, Int32)
Declaration
int Write(ByteBuffer buf, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
ByteBuffer | buf | |
System.Int32 | offset | |
System.Int32 | length |
Returns
Type | Description |
---|---|
System.Int32 |
Write(Byte[])
Write message method.
Declaration
void Write(byte[] message)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | message | the message |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if error occurred |
Write(Byte[], Int32, Int32)
Write message method.
Declaration
int Write(byte[] message, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | message | the message |
System.Int32 | offset | the start buffer position |
System.Int32 | length | the length |
Returns
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if error occurred |