com.leafdigital.irc.api
Class UnknownIRCMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.irc.api.IRCMsg
          extended by com.leafdigital.irc.api.UnknownIRCMsg

public class UnknownIRCMsg
extends IRCMsg

Represents messages which could not be recognised


Field Summary
static MessageInfo info
          Info for scripting
 
Fields inherited from class leafchat.core.api.Msg
PRIORITY_AFTERNORMAL, PRIORITY_BEFORENORMAL, PRIORITY_EARLY, PRIORITY_FIRST, PRIORITY_LAST, PRIORITY_LATE, PRIORITY_NORMAL
 
Constructor Summary
UnknownIRCMsg(java.lang.String failReason)
           
 
Method Summary
 java.lang.String getFailedLine()
           
 java.lang.String getFailReason()
           
 java.lang.String toString()
           
 
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
Info for scripting

Constructor Detail

UnknownIRCMsg

public UnknownIRCMsg(java.lang.String failReason)
Parameters:
failReason - Reason why parsing failed
Method Detail

getFailReason

public java.lang.String getFailReason()
Returns:
Reason why parsing failed

getFailedLine

public java.lang.String getFailedLine()
Returns:
Entire content of failed line

toString

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


Copyright © 2011 Samuel Marshall. All rights reserved.