Show / Hide Table of Contents

Interface IErlTransport

General interface of TCP transports (i.e. usual TCP channel or SSH tunneled TCP channel)

Inherited Members
System.IDisposable.Dispose()
Namespace: NFX.Erlang
Assembly: NFX.Erlang.dll
Syntax
public interface IErlTransport : IDisposable

Properties

ConnectTimeout

ConnectTimeout in milliseconds

Declaration
int ConnectTimeout { get; set; }
Property Value
Type Description
System.Int32

NoDelay

NoDelay socket

Declaration
bool NoDelay { get; set; }
Property Value
Type Description
System.Boolean

NodeName

Erlang node name

Declaration
string NodeName { get; set; }
Property Value
Type Description
System.String

ReceiveBufferSize

Set receive buffer size

Declaration
int ReceiveBufferSize { get; set; }
Property Value
Type Description
System.Int32

RemoteEndPoint

Remote endpoint

Declaration
EndPoint RemoteEndPoint { get; }
Property Value
Type Description
System.Net.EndPoint

SendBufferSize

Set send buffer size

Declaration
int SendBufferSize { get; set; }
Property Value
Type Description
System.Int32

SSHAuthenticationType

Type of auth on SSH server. Valid values: "PublicKey", "Password".

Declaration
string SSHAuthenticationType { get; set; }
Property Value
Type Description
System.String

SSHPrivateKeyFilePath

Private key file path (only for AuthenticationType = PublicKey) Required SSH2 ENCRYPTED PRIVATE KEY format.

Declaration
string SSHPrivateKeyFilePath { get; set; }
Property Value
Type Description
System.String

SSHServerPort

Port of SSH server

Declaration
int SSHServerPort { get; set; }
Property Value
Type Description
System.Int32

SSHUserName

SSH user name

Declaration
string SSHUserName { get; set; }
Property Value
Type Description
System.String

Methods

Close()

Close connection

Declaration
void Close()

Connect(String, Int32)

Connects to remote host:port

Declaration
void Connect(string host, int port)
Parameters
Type Name Description
System.String host
System.Int32 port

Connect(String, Int32, Int32)

Connects to remote host:port with a timeout in milliseconds

Declaration
void Connect(string host, int port, int timeoutMsec)
Parameters
Type Name Description
System.String host
System.Int32 port
System.Int32 timeoutMsec

GetStream()

Network stream

Declaration
Stream GetStream()
Returns
Type Description
System.IO.Stream

SetSocketOption(SocketOptionLevel, SocketOptionName, Boolean)

Sets cocket options

Declaration
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

Trace event

Declaration
event TraceEventHandler Trace
Event Type
Type Description
TraceEventHandler

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX