EDU.gatech.cc.is.communication
Class StringMessage

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

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

A String message communicated to/from a robot.

Copyright (c)1998 Tucker Balch

See Also:
Serialized Form

Field Summary
 java.lang.String val
          the string to send.
 
Fields inherited from class EDU.gatech.cc.is.communication.Message
BROADCAST, MULTICAST, receivers, sender, type, UNICAST
 
Constructor Summary
StringMessage()
          create a StringMessage with default values.
StringMessage(java.lang.String v)
          create a StringMessage
 
Method Summary
static void main(java.lang.String[] args)
          test the StringMessage class.
 java.lang.String paramString()
          return a printable String representation of the StringMessage.
 
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 java.lang.String val
the string to send.
Constructor Detail

StringMessage

public StringMessage()
create a StringMessage with default values.

StringMessage

public StringMessage(java.lang.String v)
create a StringMessage
Parameters:
v - String, the string to send.
Method Detail

paramString

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

main

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