All Packages Class Hierarchy This Package Previous Next Index
Class net.tabuleiro.nebulae.MUSMessage
net.tabuleiro.nebulae.MUSMessage
- public class MUSMessage
- extends java.lang.Object
Class representing a message formatted according to the Shockwave MultiUser Server specs.
See technote 15465 "Shockwave Multiuser protocol description" at www.macromedia.com/support
for more information about the internal structure of a Shockwave binary message.
Shockwave is a trademark of Macromedia, Inc. All rights reserved.
-
m_errCode
- Message error code, represented as a MUSErrorCode type (for example MUSErrorCode.NoError)
-
m_header
- Default MUS message header, included automatically with each message.
-
m_msgContent
- The content part of this message.
-
m_recptID
- A MUSMsgHeaderStringList object containing one or more MUSMsgHeaderStrings, each corresponding to
one intended recipient for this message.
-
m_senderID
- A single MUSMsgHeaderString object corresponding to the name of the message's sender.
-
m_subject
- A single MUSMsgHeaderString object corresponding to the message's subject.
-
m_timeStamp
- Message timestamp.
-
m_udp
- UDP flag for this message.
-
MUSMessage()
- Default Constructor
-
MUSMessage(boolean, String)
- Default Constructor for login messages.
-
MUSMessage(MUSMessage)
- Constructor.
-
dump()
- Reserved for internal use of the Nebulae MultiUser Server.
-
extractMUSMessage(byte[])
- Reserved for internal use of the Nebulae MultiUser Server.
-
getBytes()
- Reserved for internal use of the Nebulae MultiUser Server.
-
toDatagramPacket(InetAddress, int)
- Reserved for internal use of the Nebulae MultiUser Server.
m_header
public static final byte m_header[]
- Default MUS message header, included automatically with each message.
m_errCode
public int m_errCode
- Message error code, represented as a MUSErrorCode type (for example MUSErrorCode.NoError)
m_timeStamp
public int m_timeStamp
- Message timestamp. Usually set automatically by Nebulae's message dispatcher.
m_subject
public net.tabuleiro.nebulae.MUSMsgHeaderString m_subject
- A single MUSMsgHeaderString object corresponding to the message's subject.
m_senderID
public net.tabuleiro.nebulae.MUSMsgHeaderString m_senderID
- A single MUSMsgHeaderString object corresponding to the name of the message's sender.
m_recptID
public net.tabuleiro.nebulae.MUSMsgHeaderStringList m_recptID
- A MUSMsgHeaderStringList object containing one or more MUSMsgHeaderStrings, each corresponding to
one intended recipient for this message.
m_msgContent
public net.tabuleiro.nebulae.LValue m_msgContent
- The content part of this message. Content is always one single LValue, but it may be a linear or property list including other LValues.
m_udp
public boolean m_udp
- UDP flag for this message. When set to TRUE the dispatcher will attempt to deliver the message
using the UDP connection channel.
MUSMessage
public MUSMessage()
- Default Constructor
MUSMessage
public MUSMessage(net.tabuleiro.nebulae.MUSMessage msg)
- Constructor. Clones another message.
MUSMessage
public MUSMessage(boolean islogin,
java.lang.String logininfo)
- Default Constructor for login messages. Reserved for internal use of the Nebulae MultiUser Server.
extractMUSMessage
public void extractMUSMessage(byte rawmsg[])
- Reserved for internal use of the Nebulae MultiUser Server.
dump
public void dump()
- Reserved for internal use of the Nebulae MultiUser Server.
getBytes
public byte[] getBytes()
- Reserved for internal use of the Nebulae MultiUser Server.
toDatagramPacket
public java.net.DatagramPacket toDatagramPacket(java.net.InetAddress addr,
int port)
- Reserved for internal use of the Nebulae MultiUser Server.
All Packages Class Hierarchy This Package Previous Next Index