gecco.communication.messages
Class CoffeeBreakMessage

java.lang.Object
  extended bygecco.communication.messages.Message
      extended bygecco.communication.messages.CoffeeBreakMessage

public class CoffeeBreakMessage
extends Message

CoffeeBreakMessage.java Created: Thu Apr 03 11:25:55 2003

Author:

Constructor Summary
CoffeeBreakMessage(String message)
           
 
Method Summary
 String getMessage()
           
static Message read(DataInput in)
          This factory method reads a message id from the input stream and calls the read() factory method of the corresponding subclass, which is responsible for reading the actual data.
 void write(DataOutput out)
          This method should write the message to the given DataOutput.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoffeeBreakMessage

public CoffeeBreakMessage(String message)
Method Detail

getMessage

public String getMessage()

write

public void write(DataOutput out)
           throws IOException
Description copied from class: Message
This method should write the message to the given DataOutput.

Specified by:
write in class Message
Parameters:
out - The output stream.
Throws:
IOException

read

public static Message read(DataInput in)
                    throws IOException
Description copied from class: Message
This factory method reads a message id from the input stream and calls the read() factory method of the corresponding subclass, which is responsible for reading the actual data.

Throws:
IOException