|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.msgsys.Message
atavism.msgsys.TargetMessage
public class TargetMessage
A message to an object (the target) about an object (the subject). Target and subject are identified by OID.
Field Summary | |
---|---|
protected OID |
subject
|
protected OID |
target
|
Constructor Summary | |
---|---|
TargetMessage()
|
|
TargetMessage(MessageType msgType)
Create message of the given message type. |
|
TargetMessage(MessageType msgType,
OID target)
Create message of the given message type, target, but no subject. |
|
TargetMessage(MessageType msgType,
OID target,
OID subject)
Create message of the given message type, target, and subject. |
Method Summary | |
---|---|
OID |
getSubject()
Get the message subject. |
OID |
getTarget()
Get the message Target. |
void |
setSubject(OID subject)
Set the message subject OID. |
void |
setTarget(OID playerOid)
Set the message target OID. |
java.lang.String |
toString()
|
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, wait, wait, wait |
Field Detail |
---|
protected OID target
protected OID subject
Constructor Detail |
---|
public TargetMessage()
public TargetMessage(MessageType msgType)
public TargetMessage(MessageType msgType, OID target, OID subject)
public TargetMessage(MessageType msgType, OID target)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public OID getTarget()
public void setTarget(OID playerOid)
public OID getSubject()
public void setSubject(OID subject)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |