[This is preliminary documentation and is subject to change.]
The ErlConnection type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | ErlConnection(ErlLocalNode, TcpClient) |
Accept an incoming connection from a remote node
|
![]() | ErlConnection(ErlLocalNode, ErlRemoteNode, Boolean) |
Intiate and open a connection to a remote node
|
Methods
Name | Description | |
---|---|---|
![]() | Close | (Overrides ErlAbstractConnection Close .) |
![]() | Connect | (Inherited from ErlAbstractConnection.) |
![]() | Deliver(ErlConnectionException) |
Deliver communication exceptions to the recipient
(Overrides ErlAbstractConnection Deliver(ErlConnectionException).) |
![]() | Deliver(ErlMsg) |
Deliver messages to the recipient
(Overrides ErlAbstractConnection Deliver(ErlMsg).) |
![]() | Destructor | (Inherited from ErlAbstractConnection.) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoSend | (Inherited from ErlAbstractConnection.) |
![]() | 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 | (Inherited from ErlAbstractConnection.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReadSock |
Read data from socket
(Inherited from ErlAbstractConnection.) |
![]() | Send(ErlMsg) | (Inherited from ErlAbstractConnection.) |
![]() | Send(ErlPid, IErlObject) |
Send an Erlang term to a Pid on a local or remote node
|
![]() | Send(ErlPid, ErlAtom, IErlObject) | |
![]() | SendRPC |
Send an RPC request to the remote Erlang node
(Inherited from ErlAbstractConnection.) |
![]() | SendRPCcast |
Send an RPC cast request to the remote Erlang node
(Inherited from ErlAbstractConnection.) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_Connected | (Inherited from ErlAbstractConnection.) |
![]() | m_Cookie | (Inherited from ErlAbstractConnection.) |
![]() | m_CookieOk | (Inherited from ErlAbstractConnection.) |
![]() | m_Done | |
![]() | m_Home | (Inherited from ErlAbstractConnection.) |
![]() | m_Peer | (Inherited from ErlAbstractConnection.) |
![]() | m_ShouldSendCookie | (Inherited from ErlAbstractConnection.) |
![]() | m_Transport | (Inherited from ErlAbstractConnection.) |
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
(Inherited from ErlAbstractConnection.) |
![]() | Cookie | (Inherited from ErlAbstractConnection.) |
![]() | 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 | (Inherited from ErlAbstractConnection.) |
![]() | 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.
(Inherited from ErlAbstractConnection.) |
![]() | Name | (Inherited from ErlAbstractConnection.) |
![]() | ReceivedBytes |
Total number of bytes received from connection
(Inherited from ErlAbstractConnection.) |
![]() | ReceivedMsgs |
Total number of messages received from connection
(Inherited from ErlAbstractConnection.) |
![]() | RemoteNode | (Inherited from ErlAbstractConnection.) |
![]() | SendCookie |
Cookie to send along with each distribution message
(Inherited from ErlAbstractConnection.) |
![]() | SentBytes |
Total number of bytes sent through connection
(Inherited from ErlAbstractConnection.) |
![]() | SentMsgs |
Total number of messages sent through connection
(Inherited from ErlAbstractConnection.) |
![]() | TraceLevel |
Set the trace level for this connection. Normally tracing is off by default
(Inherited from ErlAbstractConnection.) |
See Also