Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`StringMessage(java.lang.String s)`

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 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)

  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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