[This is preliminary documentation and is subject to change.]
The ErlAbstractConnection type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | ErlAbstractConnection(ErlLocalNode, IErlTransport) |
Accept an incoming connection from a remote node. Used by ErlLocalNode.Accept
to create a connection
based on data received when handshaking with the peer node, when
the remote node is the connection intitiator.
|
![]() | ErlAbstractConnection(ErlLocalNode, ErlRemoteNode, Nullable ErlAtom , Boolean) |
Intiate and open a connection to a remote node
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Close the connection to the remote node
|
![]() | Connect | |
![]() | Deliver(ErlConnectionException) |
Deliver communication exceptions to the recipient
|
![]() | Deliver(ErlMsg) |
Deliver messages to the recipient
|
![]() | Destructor | (Overrides DisposableObject Destructor .) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoSend | |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | HeaderType | |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReadSock |
Read data from socket
|
![]() | Send | |
![]() | SendRPC |
Send an RPC request to the remote Erlang node
|
![]() | SendRPCcast |
Send an RPC cast request to the remote Erlang node
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | CHALLENGE_ACK | |
![]() ![]() | CHALLENGE_REPLY | |
![]() ![]() | CHALLENGE_STATUS | |
![]() ![]() | DEFAULT_MAX_PAYLOAD_LENGTH | |
![]() ![]() | HEADER_LEN | |
![]() | m_Connected | |
![]() | m_Cookie | |
![]() | m_CookieOk | |
![]() | m_Home | |
![]() | m_Peer | |
![]() | m_ShouldSendCookie | |
![]() | m_Transport | |
![]() ![]() | PASS_THROUGH | |
![]() ![]() | s_Random |
Properties
Name | Description | |
---|---|---|
![]() | Connected |
Determine if the connection is still alive. Note that this method
only reports the status of the connection, and that it is
possible that there are unread messages waiting in the receive
queue
|
![]() ![]() | ConnectTimeout | |
![]() | Cookie | |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | LocalNode | |
![]() | MaxPayloadLength |
Max size of the message accepted from the peer.
The connection will be closed if a message is received of size greater than this.
|
![]() | Name | |
![]() | ReceivedBytes |
Total number of bytes received from connection
|
![]() | ReceivedMsgs |
Total number of messages received from connection
|
![]() | RemoteNode | |
![]() | SendCookie |
Cookie to send along with each distribution message
|
![]() | SentBytes |
Total number of bytes sent through connection
|
![]() | SentMsgs |
Total number of messages sent through connection
|
![]() | TraceLevel |
Set the trace level for this connection. Normally tracing is off by default
|
See Also