org.sourceforge.jemm.comm.shared
Class Message

java.lang.Object
  extended by org.sourceforge.jemm.comm.shared.Message
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AvailableIFsMessage, ErrorMessage, RPCCallMessage, RPCCallRespMessage, ServerReadyMessage

public class Message
extends java.lang.Object
implements java.io.Serializable

A sendable message.

Author:
Rory Graves
See Also:
Serialized Form

Constructor Summary
Message(java.lang.String threadId)
          Creates a Message with the given threadId.
 
Method Summary
 java.lang.String getThreadId()
          Returns the threadId of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message(java.lang.String threadId)
Creates a Message with the given threadId.

Parameters:
threadId - The thread id of the caller.
Method Detail

getThreadId

public java.lang.String getThreadId()
Returns the threadId of this message.

Returns:
the threadId.


Copyright © 2009. All Rights Reserved.