[This is preliminary documentation and is subject to change.]
Maintains a connection between a C# process and a remote Erlang,
C# or C node. The object maintains connection state and allows
data to be sent to and received from the peer
System Object NFX DisposableObject NFX.Erlang ErlAbstractConnection NFX.Erlang ErlConnectionNamespace: NFX.ErlangAssembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
public abstract class ErlAbstractConnection : DisposableObject
public abstract class ErlAbstractConnection : DisposableObject
Public MustInherit Class ErlAbstractConnection
Inherits DisposableObject
Public MustInherit Class ErlAbstractConnection
Inherits DisposableObject
public ref class ErlAbstractConnection abstract : public DisposableObject
public ref class ErlAbstractConnection abstract : public DisposableObject
[<AbstractClassAttribute>]
type ErlAbstractConnection =
class
inherit DisposableObject
end
[<AbstractClassAttribute>]
type ErlAbstractConnection =
class
inherit DisposableObject
end
This abstract class provides the neccesary methods to maintain
the actual connection and encode the messages and headers in the
proper format according to the Erlang distribution protocol.
Subclasses can use these methods to provide a more or less
transparent communication channel as desired.
Note that no receive methods are provided. Subclasses must
provide methods for message delivery, and may implement their own
receive methods.
If an exception occurs in any of the methods in this class, the
connection will be closed and must be reopened in order to resume
communication with the peer. This will be indicated to the subclass
by passing the exception to its delivery() method