|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.admin.AdminReply
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.
Field Summary | |
static int |
NAME_ALREADY_USED
|
static int |
SERVER_ID_ALREADY_USED
|
static int |
START_FAILURE
|
static int |
UNKNOWN_SERVER
|
Constructor Summary | |
AdminReply(boolean success,
int errorCode,
java.lang.String info,
java.lang.Object replyObj)
Constructs an AdminReply instance. |
|
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 | |
int |
getErrorCode()
|
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NAME_ALREADY_USED
public static final int START_FAILURE
public static final int SERVER_ID_ALREADY_USED
public static final int UNKNOWN_SERVER
Constructor Detail |
public AdminReply(boolean success, java.lang.String info)
AdminReply
instance.
success
- true
if this reply replies to a successful
request.info
- Information to carry.public AdminReply(boolean success, java.lang.String info, java.lang.Object replyObj)
AdminReply
instance.
success
- true
if this reply replies to a successful
request.info
- Information to carry.replyObj
- Object to carry.public AdminReply(boolean success, int errorCode, java.lang.String info, java.lang.Object replyObj)
AdminReply
instance.
success
- true
if this reply replies to a successful
request.errorCode
- error code defining the type of the errorinfo
- Information to carry.replyObj
- Object to carry.Method Detail |
public final boolean succeeded()
true
if this reply replies to a successful request.
public final java.lang.String getInfo()
public final java.lang.Object getReplyObject()
public final int getErrorCode()
public java.lang.String toString()
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |