com.leafdigital.irc.api
Class WatchMsg
java.lang.Object
leafchat.core.api.Msg
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
public static MessageInfo info
- Scripting event information.
WatchMsg
protected WatchMsg(Server s,
IRCUserAddress ua,
boolean realChange)
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.