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.


Variable Index

 o m_errCode
Message error code, represented as a MUSErrorCode type (for example MUSErrorCode.NoError)
 o m_header
Default MUS message header, included automatically with each message.
 o m_msgContent
The content part of this message.
 o m_recptID
A MUSMsgHeaderStringList object containing one or more MUSMsgHeaderStrings, each corresponding to one intended recipient for this message.
 o m_senderID
A single MUSMsgHeaderString object corresponding to the name of the message's sender.
 o m_subject
A single MUSMsgHeaderString object corresponding to the message's subject.
 o m_timeStamp
Message timestamp.
 o m_udp
UDP flag for this message.

Constructor Index

 o MUSMessage()
Default Constructor
 o MUSMessage(boolean, String)
Default Constructor for login messages.
 o MUSMessage(MUSMessage)
Constructor.

Method Index

 o dump()
Reserved for internal use of the Nebulae MultiUser Server.
 o extractMUSMessage(byte[])
Reserved for internal use of the Nebulae MultiUser Server.
 o getBytes()
Reserved for internal use of the Nebulae MultiUser Server.
 o toDatagramPacket(InetAddress, int)
Reserved for internal use of the Nebulae MultiUser Server.

Variables

 o m_header
 public static final byte m_header[]
Default MUS message header, included automatically with each message.

 o m_errCode
 public int m_errCode
Message error code, represented as a MUSErrorCode type (for example MUSErrorCode.NoError)

 o m_timeStamp
 public int m_timeStamp
Message timestamp. Usually set automatically by Nebulae's message dispatcher.

 o m_subject
 public net.tabuleiro.nebulae.MUSMsgHeaderString m_subject
A single MUSMsgHeaderString object corresponding to the message's subject.

 o m_senderID
 public net.tabuleiro.nebulae.MUSMsgHeaderString m_senderID
A single MUSMsgHeaderString object corresponding to the name of the message's sender.

 o 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.

 o 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.

 o 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.

Constructors

 o MUSMessage
 public MUSMessage()
Default Constructor

 o MUSMessage
 public MUSMessage(net.tabuleiro.nebulae.MUSMessage msg)
Constructor. Clones another message.

 o MUSMessage
 public MUSMessage(boolean islogin,
                   java.lang.String logininfo)
Default Constructor for login messages. Reserved for internal use of the Nebulae MultiUser Server.

Methods

 o extractMUSMessage
 public void extractMUSMessage(byte rawmsg[])
Reserved for internal use of the Nebulae MultiUser Server.

 o dump
 public void dump()
Reserved for internal use of the Nebulae MultiUser Server.

 o getBytes
 public byte[] getBytes()
Reserved for internal use of the Nebulae MultiUser Server.

 o 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