Class TcpTransport
TCP socket transport implementation.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Transport.Client.Tcp
Assembly: FixAntenna.Core.dll
Syntax
public class TcpTransport : SocketTransport, ITransport
Constructors
TcpTransport(String, Int32, Boolean)
Creates transport.
Declaration
public TcpTransport(string remoteHost, int remotePort, bool enableTcpNoDelay)
Parameters
Type | Name | Description |
---|---|---|
System.String | remoteHost | the transport host |
System.Int32 | remotePort | the transpot port |
System.Boolean | enableTcpNoDelay | enable/disable Nagle sockets algorithm |
Fields
AuthenticateStream
Declaration
public Func<Stream, Stream> AuthenticateStream
Field Value
Type | Description |
---|---|
System.Func<System.IO.Stream, System.IO.Stream> |
EnableTcpNoDelay
Declaration
protected bool EnableTcpNoDelay
Field Value
Type | Description |
---|---|
System.Boolean |
EnableTls
Declaration
protected bool EnableTls
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
RemoteHost
Target host name or IP address.
Declaration
public string RemoteHost { get; }
Property Value
Type | Description |
---|---|
System.String |
RemotePort
Target port.
Declaration
public int RemotePort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Open()
Open the transport.
Declaration
public override void Open()
Overrides
Exceptions
Type | Condition |
---|---|
System.IO.IOException |
|