org.objectweb.joram.mom.notifications
Class AdminReplyNot

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by org.objectweb.joram.mom.notifications.AbstractNotification
          extended by org.objectweb.joram.mom.notifications.AdminReplyNot
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
GetRightsReplyNot

public class AdminReplyNot
extends AbstractNotification

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

See Also:
Serialized Form

Field Summary
private  java.lang.String info
          Info related to the processing of the request.
private  java.lang.Object replyObj
          possible return object
private  java.lang.String requestId
          Field identifying the original request.
private static long serialVersionUID
          define serialVersionUID for interoperability
private  boolean success
          true if the request succeeded.
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
AdminReplyNot(AdminRequestNot request, boolean success, java.lang.String info)
          Constructs an AdminReply.
AdminReplyNot(AdminRequestNot request, boolean success, java.lang.String info, java.lang.Object replyObj)
          Constructs an AdminReply.
 
Method Summary
 java.lang.String getInfo()
          Returns the info related to the processing of the request.
 java.lang.Object getReplyObject()
          Returns an object related to the processing of the request.
 java.lang.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, setPersistent, toString
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values

requestId

private java.lang.String requestId
Field identifying the original request.


success

private boolean success
true if the request succeeded.


info

private java.lang.String info
Info related to the processing of the request.


replyObj

private java.lang.Object replyObj
possible return object

Constructor Detail

AdminReplyNot

public AdminReplyNot(AdminRequestNot request,
                     boolean success,
                     java.lang.String info)
Constructs an AdminReply.


AdminReplyNot

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

Method Detail

getRequestId

public java.lang.String getRequestId()
Returns the request identifier.


getSuccess

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


getInfo

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


getReplyObject

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



Copyright © 2010 ScalAgent D.T.. All Rights Reserved.