Class ErlTcpTransport
Inheritance
System.Object
ErlTcpTransport
Implements
System.IDisposable
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()
Assembly: NFX.Erlang.dll
Syntax
public class ErlTcpTransport : IErlTransport, IDisposable
Constructors
ErlTcpTransport()
Declaration
ErlTcpTransport(TcpClient)
Declaration
public ErlTcpTransport(TcpClient client)
Parameters
Type |
Name |
Description |
System.Net.Sockets.TcpClient |
client |
|
ErlTcpTransport(String, Int32)
Declaration
public ErlTcpTransport(string host, int port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Int32 |
port |
|
Fields
m_Client
Declaration
protected TcpClient m_Client
Field Value
Type |
Description |
System.Net.Sockets.TcpClient |
|
Properties
ConnectTimeout
Declaration
public int ConnectTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NoDelay
Declaration
public bool NoDelay { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
NodeName
Declaration
public string NodeName { get; set; }
Property Value
Type |
Description |
System.String |
|
ReceiveBufferSize
Declaration
public int ReceiveBufferSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RemoteEndPoint
Declaration
public EndPoint RemoteEndPoint { get; }
Property Value
Type |
Description |
System.Net.EndPoint |
|
SendBufferSize
Declaration
public int SendBufferSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
SSHAuthenticationType
Declaration
public string SSHAuthenticationType { get; set; }
Property Value
Type |
Description |
System.String |
|
SSHPrivateKeyFilePath
Declaration
public string SSHPrivateKeyFilePath { get; set; }
Property Value
Type |
Description |
System.String |
|
SSHServerPort
Declaration
public int SSHServerPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
SSHUserName
Declaration
public string SSHUserName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Close()
Declaration
Connect(String, Int32)
Declaration
public virtual void Connect(string host, int port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Int32 |
port |
|
Connect(String, Int32, Int32)
Declaration
public virtual void Connect(string host, int port, int timeoutMsec)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Int32 |
port |
|
System.Int32 |
timeoutMsec |
|
Dispose()
Declaration
GetStream()
Declaration
public Stream GetStream()
Returns
Type |
Description |
System.IO.Stream |
|
SetSocketOption(SocketOptionLevel, SocketOptionName, Boolean)
Declaration
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, bool optionValue)
Parameters
Type |
Name |
Description |
System.Net.Sockets.SocketOptionLevel |
optionLevel |
|
System.Net.Sockets.SocketOptionName |
optionName |
|
System.Boolean |
optionValue |
|
Events
Trace
Declaration
public event TraceEventHandler Trace
Event Type
Implements
System.IDisposable
Extension Methods