public class GetRightsReplyNot extends AdminReplyNot
Modifier and Type | Field and Description |
---|---|
private boolean |
isFreeReading
True if all users can read this destination.
|
private boolean |
isFreeWriting
True if all users can write this destination.
|
private Vector |
readers
Vector of readers' identifiers.
|
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
private Vector |
writers
Vector of writers' identifiers.
|
detachable, detached, persistent
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
Constructor and Description |
---|
GetRightsReplyNot(AdminRequestNot request,
boolean isFreeReading,
boolean isFreeWriting,
Vector readers,
Vector writers)
Constructs a
GetRightsReply instance. |
Modifier and Type | Method and Description |
---|---|
Vector |
getReaders()
Returns the vector of readers' identifiers.
|
Vector |
getWriters()
Returns the vector of writers' identifiers.
|
boolean |
isFreeReading() |
boolean |
isFreeWriting() |
getInfo, getRequestId, getSuccess
decode, encode, getClientContext, getEncodedSize, setPersistent, toString
done, failed, hasCallback, passCallback, setCountDownCallback
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
private static final long serialVersionUID
private boolean isFreeReading
private boolean isFreeWriting
private Vector readers
private Vector writers
public GetRightsReplyNot(AdminRequestNot request, boolean isFreeReading, boolean isFreeWriting, Vector readers, Vector writers)
GetRightsReply
instance.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.public boolean isFreeReading()
public boolean isFreeWriting()
public Vector getReaders()
public Vector getWriters()
Copyright © 2022 ScalAgent D.T.. All rights reserved.