multiverse.server.plugins
Class WorldManagerClient.NewRemoteObjectMessage

java.lang.Object
  extended by multiverse.msgsys.Message
      extended by multiverse.msgsys.SubjectMessage
          extended by multiverse.server.plugins.WorldManagerClient.NewRemoteObjectMessage
All Implemented Interfaces:
Serializable, ITargetSessionId
Enclosing class:
WorldManagerClient

public static class WorldManagerClient.NewRemoteObjectMessage
extends SubjectMessage
implements ITargetSessionId

world manager is telling another world manager that one of its local objects has come into its fixed perceiver region includes target session id so it can filtered to the correct world manager

See Also:
Serialized Form

Field Summary
private  long instanceOid
           
private  Point loc
           
private  Quaternion orient
           
(package private)  int perceptionRadius
           
private static long serialVersionUID
           
private  String targetSessionId
           
private  ObjectType type
           
 
Fields inherited from class multiverse.msgsys.SubjectMessage
oid
 
Constructor Summary
WorldManagerClient.NewRemoteObjectMessage()
           
WorldManagerClient.NewRemoteObjectMessage(String targetSessionId, long instanceOid, Long newObjId, Point loc, Quaternion orient, int perceptionRadius, ObjectType type)
           
 
Method Summary
 long getInstanceOid()
           
 Point getLoc()
           
 Quaternion getOrient()
           
 int getPerceptionRadius()
           
 String getTargetSessionId()
           
 ObjectType getType()
           
 void setInstanceOid(long oid)
           
 void setLoc(Point loc)
           
 void setOrient(Quaternion orient)
           
 void setPerceptionRadius(int perceptionRadius)
           
 void setTargetSessionId(String targetSessionId)
           
 void setType(ObjectType type)
           
 
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
 

Field Detail

instanceOid

private long instanceOid

loc

private Point loc

orient

private Quaternion orient

type

private ObjectType type

perceptionRadius

int perceptionRadius

targetSessionId

private String targetSessionId

serialVersionUID

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

WorldManagerClient.NewRemoteObjectMessage

public WorldManagerClient.NewRemoteObjectMessage()

WorldManagerClient.NewRemoteObjectMessage

public WorldManagerClient.NewRemoteObjectMessage(String targetSessionId,
                                                 long instanceOid,
                                                 Long newObjId,
                                                 Point loc,
                                                 Quaternion orient,
                                                 int perceptionRadius,
                                                 ObjectType type)
Method Detail

setInstanceOid

public void setInstanceOid(long oid)

getInstanceOid

public long getInstanceOid()

setLoc

public void setLoc(Point loc)

getLoc

public Point getLoc()

setOrient

public void setOrient(Quaternion orient)

getOrient

public Quaternion getOrient()

setPerceptionRadius

public void setPerceptionRadius(int perceptionRadius)

getPerceptionRadius

public int getPerceptionRadius()

setType

public void setType(ObjectType type)

getType

public ObjectType getType()

getTargetSessionId

public String getTargetSessionId()
Specified by:
getTargetSessionId in interface ITargetSessionId

setTargetSessionId

public void setTargetSessionId(String targetSessionId)
Specified by:
setTargetSessionId in interface ITargetSessionId