|
|||||||||
| Version 1.5 | APIs subject to change! | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmultiverse.msgsys.Message
multiverse.msgsys.SubjectMessage
multiverse.server.messages.OIDNamespaceMessage
multiverse.server.engine.EnginePlugin.SetPropertyMessage
public static class EnginePlugin.SetPropertyMessage
Set property message for an sub object in a particular namespace. Capable of setting a single property, or a set of property values.
| Field Summary |
|---|
| Fields inherited from class multiverse.msgsys.SubjectMessage |
|---|
oid |
| Constructor Summary | |
|---|---|
EnginePlugin.SetPropertyMessage()
No-arg constructor, required by marshalling. |
|
EnginePlugin.SetPropertyMessage(java.lang.Long oid,
Namespace namespace,
java.util.Map<java.lang.String,java.io.Serializable> propMap,
boolean reqResponse)
Constructor for the case that we want to set the values of more than one key. |
|
EnginePlugin.SetPropertyMessage(java.lang.Long oid,
Namespace namespace,
java.lang.String key,
java.io.Serializable val,
boolean reqResponse)
Constructor for the case that we want to set the value of a single key. |
|
| Method Summary | |
|---|---|
boolean |
containsKey(java.lang.String key)
Return true of the message contains the key argument; false otherwise |
java.io.Serializable |
get(java.lang.String key)
Deprecated. Use getProperty(String key) instead |
java.io.Serializable |
getProperty(java.lang.String key)
Return the value associated with a key. |
java.util.Map<java.lang.String,java.io.Serializable> |
getPropMap()
Return the property map of keys and values |
boolean |
getRequestResponse()
Get whether this message requires a response. |
void |
put(java.lang.String key,
java.io.Serializable val)
Deprecated. Use setProperty(String key, Serializable val) instead |
java.io.Serializable |
setProperty(java.lang.String key,
java.io.Serializable val)
Add (or replace) the key/value pair |
void |
setRequestResponse(boolean val)
Set whether this message requires a response. |
| Methods inherited from class multiverse.server.messages.OIDNamespaceMessage |
|---|
getNamespace, setNamespace |
| Methods inherited from class multiverse.msgsys.SubjectMessage |
|---|
getSubject, setSubject, toString |
| Methods inherited from class multiverse.msgsys.Message |
|---|
getEnqueueTime, getMsgId, getMsgType, getSenderName, isRPC, setEnqueueTime, setEnqueueTime, setMsgType, toBytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnginePlugin.SetPropertyMessage()
public EnginePlugin.SetPropertyMessage(java.lang.Long oid,
Namespace namespace,
java.lang.String key,
java.io.Serializable val,
boolean reqResponse)
oid - The oid of the subobject whose key/value pair will be set.namespace - The namespace containing the subobjectkey - The String keyval - The Serializable valuereqResponse - True if the message requires a response; false otherwise
public EnginePlugin.SetPropertyMessage(java.lang.Long oid,
Namespace namespace,
java.util.Map<java.lang.String,java.io.Serializable> propMap,
boolean reqResponse)
oid - The oid of the subobject whose key/value pair will be set.namespace - The namespace containing the subobject.propMap - The map of keys to values.reqResponse - True if the message requires a response; false otherwise.| Method Detail |
|---|
public java.io.Serializable get(java.lang.String key)
getProperty(String key) instead
public java.io.Serializable getProperty(java.lang.String key)
key - A String key.
public boolean containsKey(java.lang.String key)
key - The key to look for
public void put(java.lang.String key,
java.io.Serializable val)
setProperty(String key, Serializable val) instead
public java.io.Serializable setProperty(java.lang.String key,
java.io.Serializable val)
key - The string keyval - The Serializable value to be put.
public java.util.Map<java.lang.String,java.io.Serializable> getPropMap()
public void setRequestResponse(boolean val)
val - The boolean value which, if true, indicates that
the message requires a responsepublic boolean getRequestResponse()
|
Copyright © 2008 The Multiverse Network, Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||