ErlMbox MembersNFX Class Library

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

The ErlMbox type exposes the following members.
Constructors

  NameDescription
Protected methodErlMbox(ErlLocalNode, ErlPid, ErlAtom)
Initializes a new instance of the ErlMbox class
Protected methodErlMbox(ErlLocalNode, ErlPid, String)
Create a mailbox with optional name
Back to Top
Methods

  NameDescription
Public methodAsyncRPC(ErlAtom, ErlAtom, ErlAtom, ErlList, Nullable ErlAtom )
Public methodAsyncRPC(ErlAtom, String, String, ErlList, Nullable ErlAtom )
Public methodAsyncRPC(ErlAtom, ErlAtom, ErlAtom, ErlList, IErlObject, Nullable ErlAtom )
Send RPC call to a given node.
Public methodAsyncRPC(ErlAtom, String, String, ErlList, ErlPid, Nullable ErlAtom )
Protected methodBreakLinks(ErlAtom)
Used to break all known links to this mbox
Protected methodBreakLinks(ErlAtom, IErlObject)
Used to break all known links to this mbox
Public methodClear
Protected methodClose
Close this mailbox
Protected methodDeliver(ErlConnectionException)
Protected methodDeliver(ErlMsg)
Called to deliver message to this mailbox
Protected methodDequeue
Protected methodDestructor (Overrides DisposableObject Destructor .)
Public methodDispose
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.)
Public methodDown
Protected methodEnqueue
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 methodEquals
Determine if two mailboxes are equal
(Overrides OnlineObject Equals(Object).)
Protected methodFinalize (Inherited from DisposableObject.)
Public methodGetHashCode (Overrides OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLink
Link to a remote mailbox or Erlang process. Links are idempotent, calling this method multiple times will not result in more than one link being created
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnMailboxMessage
Public methodReceive
Wait for a message to arrive for this mailbox. On timeout return null
Public methodreceiveBuf
Wait for a message to arrive for this mailbox
Public methodReceiveMatch(ErlPatternMatcher, Int32)
Receive a message and match it against a given pattern
Public methodReceiveMatch(IErlObject, Int32)
Receive a message and match it against a given pattern
Public methodReceiveRPC
Public methodRegister(String)
Register a name for this mailbox. Registering a name for a mailbox enables others to send messages without knowing the ErlPid of the mailbox. A mailbox can have at most one name; if the mailbox already had a name, calling this method will supercede that name
Public methodRegister(ErlAtom)
Public methodRPC(ErlAtom, ErlAtom, ErlAtom, ErlList, Nullable ErlAtom )
Public methodRPC(ErlAtom, String, String, ErlList, Nullable ErlAtom )
Public methodRPC(ErlAtom, ErlAtom, ErlAtom, ErlList, Int32, Nullable ErlAtom )
Public methodRPC(ErlAtom, String, String, ErlList, Int32, Nullable ErlAtom )
Public methodRPCcast(ErlAtom, ErlAtom, ErlAtom, ErlList)
Public methodRPCcast(ErlAtom, ErlAtom, ErlAtom, ErlList, IErlObject)
Public methodSend
Send a message to a named mailbox created from another node
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUnlink
Remove a link to a remote mailbox or Erlang process. This method removes a link created with ErlLink Links are idempotent; calling this method once will remove all links between this mailbox and the remote ErlPid
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
Properties

  NameDescription
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 propertyEmpty
Return true if there are no messages waiting in the receive queue of this connection
Public propertyHandle
Queue not empty status notification handle
Protected propertyLastUsed
Timestamps when this mailbox was last used - this is used internally by mailbox caching
Public propertyMsgCount
Return the number of messages currently waiting in the receive queue of this connection
Public propertyName
Get the registered name of this mailbox, or string.Empty if the mailbox doesn't have a registered name
Public propertyNode
Public propertyQueueActive
Public propertySelf
Get the Pid identifying associated with this mailbox
Back to Top
Events

  NameDescription
Public eventMailboxMessage
If this event is assigned, it will be called on arrival of a message, but the messages will not be put in the queue
Back to Top
See Also