org.objectweb.joram.mom.notifications

Class AdminReply

Implemented Interfaces:
Cloneable, Serializable
Known Direct Subclasses:
Monit_FreeAccessRep, Monit_GetClusterRep, Monit_GetDMQSettingsRep, Monit_GetFatherRep, Monit_GetNumberRep, Monit_GetUsersRep

public class AdminReply
extends AbstractNotification

An AdminReply is used by a destination agent for replying to a client administration request.

Field Summary

Fields inherited from class fr.dyade.aaa.agent.Notification

persistent

Constructor Summary

AdminReply(AdminRequest request, boolean success, String info)
Constructs an AdminReply.
AdminReply(AdminRequest request, boolean success, String info, Object replyObj)
Constructs an AdminReply.

Method Summary

String
getInfo()
Returns the info related to the processing of the request.
Object
getReplyObject()
Returns an object related to the processing of the request.
String
getRequestId()
Returns the request identifier.
boolean
getSuccess()
Returns true if the request was successful.

Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification

getClientContext, toString

Methods inherited from class fr.dyade.aaa.agent.Notification

clone, getContext, setContext, toString

Constructor Details

AdminReply

public AdminReply(AdminRequest request,
                  boolean success,
                  String info)
Constructs an AdminReply.


AdminReply

public AdminReply(AdminRequest request,
                  boolean success,
                  String info,
                  Object replyObj)
Constructs an AdminReply.

Method Details

getInfo

public String getInfo()
Returns the info related to the processing of the request.


getReplyObject

public Object getReplyObject()
Returns an object related to the processing of the request.


getRequestId

public String getRequestId()
Returns the request identifier.


getSuccess

public boolean getSuccess()
Returns true if the request was successful.


Copyright B) 2004 Scalagent - All rights reserved