org.objectweb.joram.shared.admin
Class AdminReply

java.lang.Object
  extended byorg.objectweb.joram.shared.admin.AdminReply
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CreateDestinationReply, CreateUserReply, Monitor_Reply

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

An AdminReply is a reply sent by a org.objectweb.joram.mom.dest.AdminTopic topic and containing data or information destinated to a client administrator.

See Also:
Serialized Form

Constructor Summary
AdminReply(boolean success, java.lang.String info)
          Constructs an AdminReply instance.
AdminReply(boolean success, java.lang.String info, java.lang.Object replyObj)
          Constructs an AdminReply instance.
 
Method Summary
 java.lang.String getInfo()
          Returns the carried info.
 java.lang.Object getReplyObject()
          Returns the carried object.
 boolean succeeded()
          Returns true if this reply replies to a successful request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminReply

public AdminReply(boolean success,
                  java.lang.String info)
Constructs an AdminReply instance.

Parameters:
success - true if this reply replies to a successful request.
info - Information to carry.

AdminReply

public AdminReply(boolean success,
                  java.lang.String info,
                  java.lang.Object replyObj)
Constructs an AdminReply instance.

Parameters:
success - true if this reply replies to a successful request.
info - Information to carry.
replyObj - Object to carry.
Method Detail

succeeded

public boolean succeeded()
Returns true if this reply replies to a successful request.


getInfo

public java.lang.String getInfo()
Returns the carried info.


getReplyObject

public java.lang.Object getReplyObject()
Returns the carried object.



Copyright ? 2004 Scalagent - All rights reserved