com.leafdigital.irc.api
Class ChanModeIRCMsg
java.lang.Object
leafchat.core.api.Msg
com.leafdigital.irc.api.IRCMsg
com.leafdigital.irc.api.UserSourceIRCMsg
com.leafdigital.irc.api.ChanIRCMsg
com.leafdigital.irc.api.ChanModeIRCMsg
public class ChanModeIRCMsg
- extends ChanIRCMsg
Mode change to a channel
Methods inherited from class com.leafdigital.irc.api.IRCMsg |
constructBytes, constructBytes, convertEncoding, convertISO, getCommand, getCommandBytes, getLine, getLineISO, getParamISO, getParams, getPrefix, getPrefixBytes, getServer, hasEncoding, includesPostfix, init, init, isParamInteger, setEncoding, splitBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
info
public static MessageInfo info
- Scripting event information.
ChanModeIRCMsg
public ChanModeIRCMsg(IRCUserAddress source,
java.lang.String channel,
java.lang.String modes,
java.lang.String[] modeParams,
ChanModeIRCMsg.ModeChange[] changes)
- Parameters:
source
- User that is in the message prefixchannel
- Channel namemodes
- Mode changesmodeParams
- Parameterschanges
- Parsed mode changes
getModes
public java.lang.String getModes()
- Returns:
- Mode change string
getModeParams
public java.lang.String[] getModeParams()
- Returns:
- Parameters to modes
getChanges
public ChanModeIRCMsg.ModeChange[] getChanges()
- Returns:
- Parsed mode changes
toString
public java.lang.String toString()
- Overrides:
toString
in class ChanIRCMsg
Copyright © 2011 Samuel Marshall. All rights reserved.