wtanaka.praya.obj
Class TargetedObj
java.lang.Object
|
+--wtanaka.praya.obj.Obj
|
+--wtanaka.praya.obj.TargetedObj
- All Implemented Interfaces:
- java.io.Serializable
- public class TargetedObj
- extends Obj
Represents an object that is destined for a particular recipient.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/12/06 11:24:54 $
- Author:
- $Author: wtanaka $
- See Also:
- Serialized Form
| Fields inherited from class wtanaka.praya.obj.Obj |
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT |
|
Constructor Summary |
TargetedObj(java.lang.Object message,
ResolvedRecipient target)
Constructs an Obj which represents the pending delivery of the given
message to the given recipient |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
message
private java.lang.Object message
target
private ResolvedRecipient target
TargetedObj
public TargetedObj(java.lang.Object message,
ResolvedRecipient target)
- Constructs an Obj which represents the pending delivery of the given
message to the given recipient
- Parameters:
message - the message we want to sendtarget - the place we want to send it to.
getMessage
public java.lang.Object getMessage()
getRecipient
public ResolvedRecipient getRecipient()
attemptSend
public void attemptSend()
throws NotSentException
getFrom
public java.lang.String getFrom()
- Overrides:
getFrom in class Obj
getSubject
public java.lang.String getSubject()
- Overrides:
getSubject in class Obj
getContents
public java.lang.String getContents()
- Overrides:
getContents in class Obj