Provides a carrier for Erlang messages.
Instances of this class are created to package header and payload information in received Erlang messages so that the recipient can obtain both parts with a single call to {@link OtpMbox#receiveMsg receiveMsg()}.
The header information that is available is as follows:
Message are sent using the Erlang external format (see separate documentation). When a message is received and delivered to the recipient {@link OtpMbox mailbox}, the body of the message is still in this external representation until {@link #getMsg getMsg()} is called, at which point themessage is decoded. A copy of the decoded message is stored in the OtpMsg so that subsequent calls to {@link #getMsg getMsg()} do not require that themessage be decoded a second time.
|
|
|
|