dist1.acb.common.transport
Class RequestWithStringMessage

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Request
          extended bydist1.acb.common.transport.RequestWithStringMessage
All Implemented Interfaces:
java.io.Serializable, StringMessage
Direct Known Subclasses:
RequestRejoin, RequestShutdownApplication

public abstract class RequestWithStringMessage
extends Request
implements StringMessage

Request with implemented StringMessage interface

Version:
$Revision: 1.4 $
Author:
Alexander Stasiv
See Also:
Serialized Form

Constructor Summary
RequestWithStringMessage(java.lang.String msg)
          Creates a new EequestWithStringMessage object.
 
Method Summary
 java.lang.String getMsg()
          Getter for property msg.
 void setMsg(java.lang.String msg)
          Setter for property msg.
 java.lang.String toString()
          Returns string representation of the object
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestWithStringMessage

public RequestWithStringMessage(java.lang.String msg)
Creates a new EequestWithStringMessage object.

Parameters:
msg - A message
Method Detail

setMsg

public void setMsg(java.lang.String msg)
Setter for property msg.

Specified by:
setMsg in interface StringMessage
Parameters:
msg - New value of property msg.

getMsg

public java.lang.String getMsg()
Getter for property msg.

Specified by:
getMsg in interface StringMessage
Returns:
Value of property msg.

toString

public java.lang.String toString()
Returns string representation of the object

Overrides:
toString in class Packet
Returns:
The string


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.