com.leafdigital.irc.api
Class WatchMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.irc.api.WatchMsg
Direct Known Subclasses:
OffWatchMsg, OnWatchMsg

public abstract class WatchMsg
extends Msg

Represents a parsed message received from an IRC server, parsed


Field Summary
static MessageInfo info
          Scripting event information.
 
Fields inherited from class leafchat.core.api.Msg
PRIORITY_AFTERNORMAL, PRIORITY_BEFORENORMAL, PRIORITY_EARLY, PRIORITY_FIRST, PRIORITY_LAST, PRIORITY_LATE, PRIORITY_NORMAL
 
Constructor Summary
protected WatchMsg(Server s, IRCUserAddress ua, boolean realChange)
           
 
Method Summary
 java.lang.String getNick()
           
 Server getServer()
           
 IRCUserAddress getUserAddress()
           
 boolean isRealChange()
           
 
Methods inherited from class leafchat.core.api.Msg
isHandled, isStopped, markHandled, markStopped, sequenceBefore, setSequence, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

public static MessageInfo info
Scripting event information.

Constructor Detail

WatchMsg

protected WatchMsg(Server s,
                   IRCUserAddress ua,
                   boolean realChange)
Method Detail

getServer

public Server getServer()
Returns:
Server we're dealing with

getNick

public java.lang.String getNick()
Returns:
Nickname

getUserAddress

public IRCUserAddress getUserAddress()
Returns:
User address. Note that if ISON was used, all except nick will be blank

isRealChange

public boolean isRealChange()
Returns:
True if this was really a result of user change, false if it's just 'cause we started watching


Copyright © 2011 Samuel Marshall. All rights reserved.