wtanaka.praya.bnet
Class BnetWhisperToMessage

java.lang.Object
  |
  +--wtanaka.praya.obj.Obj
        |
        +--wtanaka.praya.obj.Message
              |
              +--wtanaka.praya.obj.SelfMessage
                    |
                    +--wtanaka.praya.bnet.BnetWhisperToMessage
All Implemented Interfaces:
java.io.Serializable

public class BnetWhisperToMessage
extends SelfMessage

Outgoing private message to another person.

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2001/11/04 06:47:14 $
Author:
$Author: wtanaka $
See Also:
Serialized Form

Field Summary
private  java.lang.String message
           
private  java.lang.String to
           
 
Fields inherited from class wtanaka.praya.obj.Message
generatedBy, score
 
Fields inherited from class wtanaka.praya.obj.Obj
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT
 
Constructor Summary
BnetWhisperToMessage(Protocol parent, java.lang.String to, java.lang.String message)
           
 
Method Summary
 java.lang.String getContents()
           
 java.lang.String getTo()
           
 java.lang.String renderAsString()
           
 Recipient replyRecipient()
          Gets the recipient to whom replies to this message will be sent, if applicable.
 
Methods inherited from class wtanaka.praya.obj.SelfMessage
isSelfMessage
 
Methods inherited from class wtanaka.praya.obj.Message
changeScore, convertStringToHtml, getScore, getSourceProtocol, isStateChangeMessage, lessThan, renderAsHTML, renderAsHTML, setZombie, toString
 
Methods inherited from class wtanaka.praya.obj.Obj
getFrom, getSubject, getTimeStamp, isPrivileged, setPrivilegedThread, setSecretObject, setTimeStamp
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

to

private java.lang.String to

message

private java.lang.String message
Constructor Detail

BnetWhisperToMessage

public BnetWhisperToMessage(Protocol parent,
                            java.lang.String to,
                            java.lang.String message)
Method Detail

getTo

public java.lang.String getTo()

getContents

public java.lang.String getContents()
Overrides:
getContents in class Obj

renderAsString

public java.lang.String renderAsString()
Overrides:
renderAsString in class Message

replyRecipient

public Recipient replyRecipient()
Description copied from class: Message
Gets the recipient to whom replies to this message will be sent, if applicable.
Overrides:
replyRecipient in class Message
Following copied from class: wtanaka.praya.obj.Message
Returns:
the recipient object for replies to this message. If there is no relevant recipient (e.g. this a logout message) returns null.