madkit.kernel
Class StringMessage
java.lang.Object
madkit.kernel.Message
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
Method Summary |
java.lang.String |
getString()
|
void |
setString(java.lang.String s)
Should not be used ... |
java.lang.String |
toString()
Returns a debug string with envelope and content for the message |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringMessage
public StringMessage(java.lang.String s)
getString
public java.lang.String getString()
setString
public void setString(java.lang.String s)
- Should not be used ...
Sets the string.
- Parameters:
s
- the new string
toString
public java.lang.String toString()
- Description copied from class:
Message
- Returns a debug string with envelope and content for the message
- Overrides:
toString
in class Message
Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.