Class ErlRemoteNode
Inheritance
System.Object
ErlRemoteNode
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)
Namespace: NFX.Erlang
Assembly: NFX.Erlang.dll
Syntax
public class ErlRemoteNode : ErlAbstractNode, IApplicationComponent, IDisposable, IService, INamed, IConfigurable, ILocalizedTimeProvider
Constructors
ErlRemoteNode(ErlLocalNode, ErlAtom, IConfigSettings, Nullable<ErlAtom>)
Create a peer node
Declaration
public ErlRemoteNode(ErlLocalNode home, ErlAtom toNode, IConfigSettings config, ErlAtom? cookie = default (ErlAtom? ))
Parameters
Type | Name | Description |
---|---|---|
ErlLocalNode | home | |
ErlAtom | toNode | |
IConfigSettings | config | |
System.Nullable<ErlAtom> | cookie |
ErlRemoteNode(ErlLocalNode, ErlAtom, Nullable<ErlAtom>)
Create a peer node
Declaration
public ErlRemoteNode(ErlLocalNode home, ErlAtom toNode, ErlAtom? cookie = default (ErlAtom? ))
Parameters
Type | Name | Description |
---|---|---|
ErlLocalNode | home | |
ErlAtom | toNode | |
System.Nullable<ErlAtom> | cookie |
ErlRemoteNode(ErlLocalNode, String, Nullable<ErlAtom>)
Create a peer node
Declaration
public ErlRemoteNode(ErlLocalNode home, string toNode, ErlAtom? cookie = default (ErlAtom? ))
Parameters
Type | Name | Description |
---|---|---|
ErlLocalNode | home | |
System.String | toNode | |
System.Nullable<ErlAtom> | cookie |
Properties
ConnectTimeout
Connect timeout, ms
Declaration
public int ConnectTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SSHAuthenticationType
Type of auth on SSH server
Declaration
public 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
public string SSHPrivateKeyFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SSHServerPort
Port of SSH server
Declaration
public int SSHServerPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SSHUserName
SSH user name
Declaration
public string SSHUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransportClassName
Full name of transport class (if not specified - it uses ErlTcpTransport)
Declaration
public string TransportClassName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AppendSSHParamsToTransport(IErlTransport)
Declaration
public void AppendSSHParamsToTransport(IErlTransport transport)
Parameters
Type | Name | Description |
---|---|---|
IErlTransport | transport |
Connect(ErlLocalNode)
Create a connection to a remote node
Declaration
public ErlConnection Connect(ErlLocalNode self)
Parameters
Type | Name | Description |
---|---|---|
ErlLocalNode | self | the local node from which you wish to connect |
Returns
Type | Description |
---|---|
ErlConnection | A connection to the remote node |
Implements
System.IDisposable