ErlConnection MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The ErlConnection type exposes the following members.
Constructors

  NameDescription
Public methodErlConnection(ErlLocalNode, TcpClient)
Accept an incoming connection from a remote node
Protected methodErlConnection(ErlLocalNode, ErlRemoteNode, Boolean)
Intiate and open a connection to a remote node
Back to Top
Methods

  NameDescription
Protected methodClose (Overrides ErlAbstractConnection Close .)
Protected methodConnect (Inherited from ErlAbstractConnection.)
Protected methodDeliver(ErlConnectionException)
Deliver communication exceptions to the recipient
(Overrides ErlAbstractConnection Deliver(ErlConnectionException).)
Protected methodDeliver(ErlMsg)
Deliver messages to the recipient
(Overrides ErlAbstractConnection Deliver(ErlMsg).)
Protected methodDestructor (Inherited from ErlAbstractConnection.)
Public methodDispose
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.)
Protected methodDoSend (Inherited from ErlAbstractConnection.)
Public methodEnsureObjectNotDisposed
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.)
Public methodOnlineEquals
Determines whether the specified object is equal to the current object.
(Inherited from OnlineObject.)
Protected methodFinalize (Inherited from DisposableObject.)
Public methodOnlineGetHashCode
Serves as the default hash function.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodHeaderType (Inherited from ErlAbstractConnection.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodReadSock
Read data from socket
(Inherited from ErlAbstractConnection.)
Protected methodSend(ErlMsg) (Inherited from ErlAbstractConnection.)
Public methodSend(ErlPid, IErlObject)
Send an Erlang term to a Pid on a local or remote node
Public methodSend(ErlPid, ErlAtom, IErlObject)
Public methodSendRPC
Send an RPC request to the remote Erlang node
(Inherited from ErlAbstractConnection.)
Public methodSendRPCcast
Send an RPC cast request to the remote Erlang node
(Inherited from ErlAbstractConnection.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsBool (Defined by ObjectValueConversion.)
Public Extension MethodAsByte (Defined by ObjectValueConversion.)
Public Extension MethodAsChar (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime(DateTime, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID(GDID, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol(GDIDSymbol, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsInt (Defined by ObjectValueConversion.)
Public Extension MethodAsJSONConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLaconicConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNonNullOrEmptyString (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableBool (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableChar (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDateTime (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDIDSymbol (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableShort (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableTimeSpan (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableULong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsShort (Defined by ObjectValueConversion.)
Public Extension MethodAsString (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan(TimeSpan, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsULong (Defined by ObjectValueConversion.)
Public Extension MethodAsUri (Defined by ObjectValueConversion.)
Public Extension MethodAsUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsXMLConfig (Defined by ObjectValueConversion.)
Public Extension MethodToErlObject Overloaded.
Try to convert .NET native object type to corresponding Erlang term. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToErlObject(ErlTypeOrder, Boolean)Overloaded.
Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToJSON(JSONWritingOptions)Overloaded.
Serializes object into JSON string
(Defined by JSONExtensions.)
Public Extension MethodToJSON(TextWriter, JSONWritingOptions)Overloaded.
Serializes object into JSON format using provided TextWriter
(Defined by JSONExtensions.)
Public Extension MethodToJSON(Stream, JSONWritingOptions, Encoding)Overloaded.
Serializes object into JSON format using provided stream and optional encoding
(Defined by JSONExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldm_Connected (Inherited from ErlAbstractConnection.)
Protected fieldm_Cookie (Inherited from ErlAbstractConnection.)
Protected fieldm_CookieOk (Inherited from ErlAbstractConnection.)
Protected fieldm_Done
Protected fieldm_Home (Inherited from ErlAbstractConnection.)
Protected fieldm_Peer (Inherited from ErlAbstractConnection.)
Protected fieldm_ShouldSendCookie (Inherited from ErlAbstractConnection.)
Protected fieldm_Transport (Inherited from ErlAbstractConnection.)
Back to Top
Properties

  NameDescription
Public propertyConnected
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.)
Public propertyCookie (Inherited from ErlAbstractConnection.)
Public propertyDisposed
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.)
Public propertyDisposeStarted
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.)
Public propertyLocalNode (Inherited from ErlAbstractConnection.)
Public propertyMaxPayloadLength
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.)
Public propertyName (Inherited from ErlAbstractConnection.)
Public propertyReceivedBytes
Total number of bytes received from connection
(Inherited from ErlAbstractConnection.)
Public propertyReceivedMsgs
Total number of messages received from connection
(Inherited from ErlAbstractConnection.)
Public propertyRemoteNode (Inherited from ErlAbstractConnection.)
Protected propertySendCookie
Cookie to send along with each distribution message
(Inherited from ErlAbstractConnection.)
Public propertySentBytes
Total number of bytes sent through connection
(Inherited from ErlAbstractConnection.)
Public propertySentMsgs
Total number of messages sent through connection
(Inherited from ErlAbstractConnection.)
Public propertyTraceLevel
Set the trace level for this connection. Normally tracing is off by default
(Inherited from ErlAbstractConnection.)
Back to Top
See Also