multiverse.mars.plugins
Class AnimationClient.InvokeEffectMessage

java.lang.Object
  extended by multiverse.msgsys.Message
      extended by multiverse.msgsys.SubjectMessage
          extended by multiverse.mars.plugins.AnimationClient.InvokeEffectMessage
All Implemented Interfaces:
Serializable
Enclosing class:
AnimationClient

public static class AnimationClient.InvokeEffectMessage
extends SubjectMessage

InvokeEffectMessage Tells the client to invoke a coordinated effect. The message oid is used by the server to determine who can perceive the effect, but is not sent to the client. The client only sees the oid for the effect instance.

See Also:
Serialized Form

Field Summary
protected  String effectName
           
protected  Long effectOid
           
protected  Lock lock
           
protected  Map<String,Serializable> propertyMap
           
private static long serialVersionUID
           
 
Fields inherited from class multiverse.msgsys.SubjectMessage
oid
 
Constructor Summary
AnimationClient.InvokeEffectMessage()
           
AnimationClient.InvokeEffectMessage(Long oid, String effectName)
           
 
Method Summary
 Serializable get(String key)
          Deprecated. Use getProperty(String key) instead
 String getEffectName()
           
 Long getEffectOid()
           
 Serializable getProperty(String key)
          Return the value associated with a key.
 Set<String> keySet()
           
 void put(String key, Serializable val)
          Deprecated. Use setProperty(String key, Serializable val) instead
private  void readObject(ObjectInputStream in)
           
 void setEffectName(String effectName)
           
 void setEffectOid(Long oid)
           
 void setProperty(String key, Serializable val)
          Associate the value with the key.
(package private)  void setupTransient()
           
 MVByteBuffer toBuffer(String version)
           
 String toString()
           
 
Methods inherited from class multiverse.msgsys.SubjectMessage
getSubject, setSubject
 
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
 

Field Detail

effectName

protected String effectName

effectOid

protected Long effectOid

lock

protected transient Lock lock

propertyMap

protected Map<String,Serializable> propertyMap

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AnimationClient.InvokeEffectMessage

public AnimationClient.InvokeEffectMessage()

AnimationClient.InvokeEffectMessage

public AnimationClient.InvokeEffectMessage(Long oid,
                                           String effectName)
Method Detail

toString

public String toString()
Overrides:
toString in class SubjectMessage

setEffectName

public void setEffectName(String effectName)

getEffectName

public String getEffectName()

setEffectOid

public void setEffectOid(Long oid)

getEffectOid

public Long getEffectOid()

put

public void put(String key,
                Serializable val)
Deprecated. Use setProperty(String key, Serializable val) instead

Associate the value with the key.


setProperty

public void setProperty(String key,
                        Serializable val)
Associate the value with the key.

Parameters:
key - A String key.
val - A Serializable value.

get

public Serializable get(String key)
Deprecated. Use getProperty(String key) instead

Get the value associated with a key.


getProperty

public Serializable getProperty(String key)
Return the value associated with a key.

Parameters:
key - A String key.
Returns:
The Serializable value associated with the key, or null if none exists.

keySet

public Set<String> keySet()

toBuffer

public MVByteBuffer toBuffer(String version)

setupTransient

void setupTransient()

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException