Atavism Version 2018.1AGIS API

atavism.server.engine
Class EnginePlugin.TransferObjectMessage

java.lang.Object
  extended by atavism.msgsys.Message
      extended by atavism.server.engine.EnginePlugin.TransferObjectMessage
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
EnginePlugin

public static class EnginePlugin.TransferObjectMessage
extends Message

The message used to transfer control of an object from one world manager to another.

See Also:
Serialized Form

Constructor Summary
EnginePlugin.TransferObjectMessage()
          No-args constructor, required by marshalling.
EnginePlugin.TransferObjectMessage(java.util.HashMap<java.lang.String,java.io.Serializable> propMap, Entity entity)
          The normal constructor.
 
Method Summary
 Entity getEntity()
          Getter for the entity.
 java.util.HashMap<java.lang.String,java.io.Serializable> getPropMap()
          Getter for the propMap.
 void setEntity(Entity entity)
          Setter for the entity.
 void setPropMap(java.util.HashMap<java.lang.String,java.io.Serializable> propMap)
          Setter for the propMap.
 
Methods inherited from class atavism.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, toString, wait, wait, wait
 

Constructor Detail

EnginePlugin.TransferObjectMessage

public EnginePlugin.TransferObjectMessage()
No-args constructor, required by marshalling.


EnginePlugin.TransferObjectMessage

public EnginePlugin.TransferObjectMessage(java.util.HashMap<java.lang.String,java.io.Serializable> propMap,
                                          Entity entity)
The normal constructor.

Parameters:
propMap - A map of properties to be applied by the target world manager.
entity - The entity to be transferred.
Method Detail

getPropMap

public java.util.HashMap<java.lang.String,java.io.Serializable> getPropMap()
Getter for the propMap.

Returns:
The propMap.

setPropMap

public void setPropMap(java.util.HashMap<java.lang.String,java.io.Serializable> propMap)
Setter for the propMap.

Parameters:
propMap - The propMap value.

getEntity

public Entity getEntity()
Getter for the entity.

Returns:
The entity.

setEntity

public void setEntity(Entity entity)
Setter for the entity.

Parameters:
entity - The entity value.


Copyright © 2018 Dragonsan Studios Sp. z o.o.