|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.gatech.cc.is.communication.Message
message communicated to/from a robot.
Copyright (c)1998 Tucker Balch
Field Summary | |
static int |
BROADCAST
Message type. |
static int |
MULTICAST
Message type. |
int[] |
receivers
IDs of the receivers. |
int |
sender
the ID of the sender. |
int |
type
the type of message. |
static int |
UNICAST
Message type. |
Constructor Summary | |
Message()
create a Message with default values. |
Method Summary | |
java.lang.Object |
clone()
clone the message |
static void |
main(java.lang.String[] args)
test the Message class. |
java.lang.String |
paramString()
return a printable String representation of the Message. |
java.lang.String |
toString()
return a printable String representation of the Message. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int BROADCAST
public static final int MULTICAST
public static final int UNICAST
public int type
public int sender
public int[] receivers
Constructor Detail |
public Message()
Method Detail |
public java.lang.String toString()
public java.lang.String paramString()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |