EDU.gatech.cc.is.communication
Class LongMessage

java.lang.Object
  |
  +--EDU.gatech.cc.is.communication.Message
        |
        +--EDU.gatech.cc.is.communication.LongMessage

public class LongMessage
extends Message
implements java.lang.Cloneable, java.io.Serializable

A message containing a long communicated to/from a robot.

Copyright (c)1998 Tucker Balch

See Also:
Serialized Form

Field Summary
 long val
          the long to send.
 
Fields inherited from class EDU.gatech.cc.is.communication.Message
BROADCAST, MULTICAST, receivers, sender, type, UNICAST
 
Constructor Summary
LongMessage()
          create a LongMessage with default value.
LongMessage(long v)
          create a LongMessage with specified value.
 
Method Summary
static void main(java.lang.String[] args)
          test the LongMessage class.
 java.lang.String paramString()
          return a printable String representation of the LongMessage.
 
Methods inherited from class EDU.gatech.cc.is.communication.Message
clone, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val

public long val
the long to send.
Constructor Detail

LongMessage

public LongMessage()
create a LongMessage with default value.

LongMessage

public LongMessage(long v)
create a LongMessage with specified value.
Parameters:
v - long, the long to send.
Method Detail

paramString

public java.lang.String paramString()
return a printable String representation of the LongMessage.
Overrides:
paramString in class Message
Returns:
the String representation

main

public static void main(java.lang.String[] args)
test the LongMessage class.