org.objectweb.joram.shared.admin
Class AdminReply
java.lang.Object
org.objectweb.joram.shared.admin.AdminReply
- java.io.Serializable
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.
- Serialized Form
AdminReply(boolean success, String info) - Constructs an
AdminReply instance.
|
AdminReply(boolean success, String info, Object replyObj) - Constructs an
AdminReply instance.
|
String | getInfo() - Returns the carried info.
|
Object | getReplyObject() - Returns the carried object.
|
boolean | succeeded() - Returns
true if this reply replies to a successful request.
|
AdminReply
public AdminReply(boolean success,
String info)
Constructs an AdminReply
instance.
success
- true
if this reply replies to a successful
request.info
- Information to carry.
AdminReply
public AdminReply(boolean success,
String info,
Object replyObj)
Constructs an AdminReply
instance.
success
- true
if this reply replies to a successful
request.info
- Information to carry.replyObj
- Object to carry.
getInfo
public String getInfo()
Returns the carried info.
getReplyObject
public Object getReplyObject()
Returns the carried object.
succeeded
public boolean succeeded()
Returns true
if this reply replies to a successful request.
Copyright B) 2004 Scalagent - All rights reserved