wtanaka.praya.yahoo
Class YahooLogoutMessage

java.lang.Object
  |
  +--wtanaka.praya.obj.Obj
        |
        +--wtanaka.praya.obj.Message
              |
              +--wtanaka.praya.yahoo.YahooLogoutMessage
All Implemented Interfaces:
java.io.Serializable

public class YahooLogoutMessage
extends Message
implements java.io.Serializable

Represents a user logging out.

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2001/10/02 09:30:19 $
Author:
$Author: wtanaka $
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String who
           
 
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
YahooLogoutMessage(Protocol parent, java.lang.String bobuser)
          Constructs a Logout message proclaiming that bobuser has logged out.
 
Method Summary
 java.lang.String getFrom()
           
 java.lang.String getSubject()
           
 Recipient replyRecipient()
          Gets the recipient to whom replies to this message will be sent, if applicable.
 
Methods inherited from class wtanaka.praya.obj.Message
changeScore, convertStringToHtml, getScore, getSourceProtocol, isSelfMessage, isStateChangeMessage, lessThan, renderAsHTML, renderAsHTML, renderAsString, setZombie, toString
 
Methods inherited from class wtanaka.praya.obj.Obj
getContents, 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

who

java.lang.String who
Constructor Detail

YahooLogoutMessage

public YahooLogoutMessage(Protocol parent,
                          java.lang.String bobuser)
Constructs a Logout message proclaiming that bobuser has logged out.
Parameters:
bobuser - the person who logged out.
Method Detail

getSubject

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

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.

getFrom

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