All Packages Class Hierarchy This Package Previous Next Index
Class connection.Message
java.lang.Object
|
+----connection.Message
- public class Message
- extends Object
- implements Serializable
Super class for message objects that are sent through the communication
channel. New message types can be created by subclassing this class.
- Version:
- 0.30, 1998/04/01
- Author:
- FRED development team, Antti Viljamaa
- See Also:
- ConnectionManager, Client, Server
-
msgID
- The message id.
-
Message()
- Constructs a new message without an id.
-
Message(byte)
- Constructs a new message with an id.
-
getClassName()
- Gets the (short) class name this message.
-
getMsgID()
- Gets the message id.
-
setMsgID(byte)
- Sets the message id.
msgID
private byte msgID
- The message id.
Message
public Message()
- Constructs a new message without an id.
Message
public Message(byte id)
- Constructs a new message with an id.
setMsgID
public void setMsgID(byte id)
- Sets the message id.
getMsgID
public byte getMsgID()
- Gets the message id.
getClassName
public String getClassName()
- Gets the (short) class name this message.
All Packages Class Hierarchy This Package Previous Next Index