org.objectweb.joram.mom.notifications
Class GetRightsReplyNot

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
              extended by org.objectweb.joram.mom.notifications.GetRightsReplyNot
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GetRightsReplyNot
extends AdminReplyNot

This notification is used by a destination for sending the identifiers of its readers and writers in response to a GetRightsRequest.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
GetRightsReplyNot(AdminRequestNot request, boolean isFreeReading, boolean isFreeWriting, java.util.Vector readers, java.util.Vector writers)
          Constructs a GetRightsReply instance.
 
Method Summary
 java.util.Vector getReaders()
          Returns the vector of readers' identifiers.
 java.util.Vector getWriters()
          Returns the vector of writers' identifiers.
 boolean isFreeReading()
           
 boolean isFreeWriting()
           
 
Methods inherited from class org.objectweb.joram.mom.notifications.AdminReplyNot
getInfo, getRequestId, getSuccess
 
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
 

Constructor Detail

GetRightsReplyNot

public GetRightsReplyNot(AdminRequestNot request,
                         boolean isFreeReading,
                         boolean isFreeWriting,
                         java.util.Vector readers,
                         java.util.Vector writers)
Constructs a GetRightsReply instance.

Parameters:
request - The request this reply replies to.
isFreeReading -
isFreeWriting -
readers - The vector or readers' or writers' identifiers.
writers - The vector or readers' or writers' identifiers.
Method Detail

isFreeReading

public boolean isFreeReading()
Returns:
the isFreeReading

isFreeWriting

public boolean isFreeWriting()
Returns:
the isFreeWriting

getReaders

public java.util.Vector getReaders()
Returns the vector of readers' identifiers.

Returns:
the vector of readers' identifiers.

getWriters

public java.util.Vector getWriters()
Returns the vector of writers' identifiers.

Returns:
the vector of writers' identifiers.


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