madkit.kernel
Class StringMessage

java.lang.Object
  extended by madkit.kernel.Message
      extended by madkit.kernel.StringMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class StringMessage
extends Message

A message that carries a single string

Author:
Olivier Gutknecht
See Also:
Serialized Form

Constructor Summary
StringMessage(java.lang.String s)
           
 
Method Summary
 java.lang.String getString()
           
 void setString(java.lang.String s)
           
 java.lang.String toString()
          Returns a debug string with enveloppe and content for the message
 
Methods inherited from class madkit.kernel.Message
clone, getCreationDate, getReceiver, getSender
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringMessage

public StringMessage(java.lang.String s)
Method Detail

getString

public java.lang.String getString()

setString

public void setString(java.lang.String s)

toString

public java.lang.String toString()
Description copied from class: Message
Returns a debug string with enveloppe and content for the message

Overrides:
toString in class Message


Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.