|
|||||||||
| Version 1.5 | APIs subject to change! | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmultiverse.msgsys.Message
multiverse.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 long |
subject
|
protected long |
target
|
| Constructor Summary | |
|---|---|
TargetMessage()
|
|
TargetMessage(MessageType msgType)
Create message of the given message type. |
|
TargetMessage(MessageType msgType,
long target)
Create message of the given message type, target, but no subject. |
|
TargetMessage(MessageType msgType,
long target,
long subject)
Create message of the given message type, target, and subject. |
|
| Method Summary | |
|---|---|
long |
getSubject()
Get the message subject. |
long |
getTarget()
Get the message Target. |
void |
setSubject(long subject)
Set the message subject OID. |
void |
setTarget(long target)
Set the message target OID. |
java.lang.String |
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 |
|---|
protected long target
protected long subject
| Constructor Detail |
|---|
public TargetMessage()
public TargetMessage(MessageType msgType)
public TargetMessage(MessageType msgType,
long target,
long subject)
public TargetMessage(MessageType msgType,
long target)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic long getTarget()
public void setTarget(long target)
public long getSubject()
public void setSubject(long subject)
|
Copyright © 2008 The Multiverse Network, Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||