Version 1.5APIs subject to change!

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:
java.io.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  java.lang.String effectName
           
protected  java.lang.Long effectOid
           
protected  java.util.concurrent.locks.Lock lock
           
protected  java.util.Map<java.lang.String,java.io.Serializable> propertyMap
           
 
Fields inherited from class multiverse.msgsys.SubjectMessage
oid
 
Constructor Summary
AnimationClient.InvokeEffectMessage()
           
AnimationClient.InvokeEffectMessage(java.lang.Long oid, java.lang.String effectName)
           
 
Method Summary
 java.io.Serializable get(java.lang.String key)
          Deprecated. Use getProperty(String key) instead
 java.lang.String getEffectName()
           
 java.lang.Long getEffectOid()
           
 java.io.Serializable getProperty(java.lang.String key)
          Return the value associated with a key.
 java.util.Set<java.lang.String> keySet()
           
 void put(java.lang.String key, java.io.Serializable val)
          Deprecated. Use setProperty(String key, Serializable val) instead
 void setEffectName(java.lang.String effectName)
           
 void setEffectOid(java.lang.Long oid)
           
 void setProperty(java.lang.String key, java.io.Serializable val)
          Associate the value with the key.
 multiverse.server.network.MVByteBuffer toBuffer(java.lang.String version)
           
 java.lang.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 java.lang.String effectName

effectOid

protected java.lang.Long effectOid

lock

protected transient java.util.concurrent.locks.Lock lock

propertyMap

protected java.util.Map<java.lang.String,java.io.Serializable> propertyMap
Constructor Detail

AnimationClient.InvokeEffectMessage

public AnimationClient.InvokeEffectMessage()

AnimationClient.InvokeEffectMessage

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

toString

public java.lang.String toString()
Overrides:
toString in class SubjectMessage

setEffectName

public void setEffectName(java.lang.String effectName)

getEffectName

public java.lang.String getEffectName()

setEffectOid

public void setEffectOid(java.lang.Long oid)

getEffectOid

public java.lang.Long getEffectOid()

put

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

Associate the value with the key.


setProperty

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

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

get

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

Get the value associated with a key.


getProperty

public java.io.Serializable getProperty(java.lang.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 java.util.Set<java.lang.String> keySet()

toBuffer

public multiverse.server.network.MVByteBuffer toBuffer(java.lang.String version)


Copyright © 2008 The Multiverse Network, Inc.