com.leafdigital.irc.api
Class ChanCTCPRequestIRCMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.irc.api.IRCMsg
          extended by com.leafdigital.irc.api.UserSourceIRCMsg
              extended by com.leafdigital.irc.api.ChanIRCMsg
                  extended by com.leafdigital.irc.api.ChanCTCPRequestIRCMsg
Direct Known Subclasses:
ChanActionIRCMsg

public class ChanCTCPRequestIRCMsg
extends ChanIRCMsg

Notice sent to a channel


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
ChanCTCPRequestIRCMsg(IRCUserAddress source, java.lang.String channel, java.lang.String request, byte[] text)
           
 
Method Summary
 java.lang.String getRequest()
           
 byte[] getText()
           
 java.lang.String toString()
           
 
Methods inherited from class com.leafdigital.irc.api.ChanIRCMsg
getChannel
 
Methods inherited from class com.leafdigital.irc.api.UserSourceIRCMsg
getSourceUser
 
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 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, wait, wait, wait
 

Field Detail

info

public static MessageInfo info
Scripting event information.

Constructor Detail

ChanCTCPRequestIRCMsg

public ChanCTCPRequestIRCMsg(IRCUserAddress source,
                             java.lang.String channel,
                             java.lang.String request,
                             byte[] text)
Parameters:
source - User that is in the message prefix
channel - Channel name
request - CTCP request command
text - Text/parameters of message
Method Detail

getText

public byte[] getText()
Returns:
Text or parameters of message (everything after command)

getRequest

public java.lang.String getRequest()
Returns:
CTCP request command

toString

public java.lang.String toString()
Overrides:
toString in class ChanIRCMsg


Copyright © 2011 Samuel Marshall. All rights reserved.