wtanaka.praya.bnet
Class BnetJoinMessage

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

public class BnetJoinMessage
extends Message

Message generated when someone joins a channel.

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2001/11/04 04:16:50 $
Author:
$Author: wtanaka $
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String user
           
 
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
BnetJoinMessage(Protocol parent, java.lang.String user)
           
 
Method Summary
 java.lang.String getContents()
           
 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
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

user

java.lang.String user
Constructor Detail

BnetJoinMessage

public BnetJoinMessage(Protocol parent,
                       java.lang.String user)
Method Detail

getContents

public java.lang.String getContents()
Overrides:
getContents 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.