public static class EnginePlugin.GetPropertyMessage extends OIDNamespaceMessage
oidflags, msgId, msgInstanceOid, msgType, remoteAgent| Constructor and Description |
|---|
GetPropertyMessage()
No-arg constructor, required by marshalling
|
GetPropertyMessage(OID oid,
Namespace namespace,
java.util.List<java.lang.String> keys)
GetPropertyMessage constructor for cases where we want the
values of a list of keys.
|
GetPropertyMessage(OID oid,
Namespace namespace,
java.lang.String key)
GetPropertyMessage constructor for cases where we want the
value of a single key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(java.lang.String key)
Add another key to the list of keys for which this message
will fetch values.
|
java.util.List<java.lang.String> |
getKeys()
Return the list of keys for which this message will fetch
values
|
java.io.Serializable |
removeKey(java.io.Serializable key)
Remove a key from the list of keys for which this message
will fetch values.
|
java.lang.String |
toString()
Method to produce a human-readable version of the key list
|
getNamespace, setNamespacegetSubject, setSubjectgetEnqueueTime, getMsgId, getMsgInstanceOid, getMsgType, getSenderName, isRPC, setEnqueueTime, setEnqueueTime, setMsgInstanceOid, setMsgType, toBytes, toBytes, toBytes, ToStringpublic GetPropertyMessage()
public GetPropertyMessage(OID oid, Namespace namespace, java.lang.String key)
oid - The oid of the object.namespace - The Namespace containing the sub-object.key - The key whose value will be fetched.public GetPropertyMessage(OID oid, Namespace namespace, java.util.List<java.lang.String> keys)
oid - The oid of the object.namespace - The Namespace containing the sub-object.keys - The list of keys whose values will be fetched.public java.lang.String toString()
toString in class SubjectMessagepublic void addKey(java.lang.String key)
key - The key to be added to the list of keys for
which values will be fetched.public java.io.Serializable removeKey(java.io.Serializable key)
key - The key to be removed from the list of keys for
which values will be fetched.public java.util.List<java.lang.String> getKeys()