Class GetRightsReplyNot
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.CallbackNotification
-
- org.objectweb.joram.mom.notifications.AbstractNotification
-
- org.objectweb.joram.mom.notifications.AdminReplyNot
-
- org.objectweb.joram.mom.notifications.GetRightsReplyNot
-
- All Implemented Interfaces:
Encodable,Serializable,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 Modifier and Type Field Description private booleanisFreeReadingTrue if all users can read this destination.private booleanisFreeWritingTrue if all users can write this destination.private Vector<AgentId>readersVector of readers' identifiers.private static longserialVersionUIDdefine serialVersionUID for interoperabilityprivate Vector<AgentId>writersVector of writers' identifiers.-
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description GetRightsReplyNot(AdminRequestNot request, boolean isFreeReading, boolean isFreeWriting, Vector<AgentId> readers, Vector<AgentId> writers)Constructs aGetRightsReplyinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector<AgentId>getReaders()Returns the vector of readers' identifiers.Vector<AgentId>getWriters()Returns the vector of writers' identifiers.booleanisFreeReading()booleanisFreeWriting()-
Methods inherited from class org.objectweb.joram.mom.notifications.AdminReplyNot
getInfo, getRequestId, getSuccess
-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
decode, encode, getClientContext, getEncodedSize, setPersistent, toString
-
Methods inherited from class fr.dyade.aaa.agent.CallbackNotification
done, failed, hasCallback, passCallback, setCountDownCallback
-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
isFreeReading
private boolean isFreeReading
True if all users can read this destination.
-
isFreeWriting
private boolean isFreeWriting
True if all users can write this destination.
-
-
Constructor Detail
-
GetRightsReplyNot
public GetRightsReplyNot(AdminRequestNot request, boolean isFreeReading, boolean isFreeWriting, Vector<AgentId> readers, Vector<AgentId> writers)
Constructs aGetRightsReplyinstance.- 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.
-
-