com.leafdigital.irc.api
Class ServerLineMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.irc.api.ServerMsg
          extended by com.leafdigital.irc.api.ServerLineMsg

public class ServerLineMsg
extends ServerMsg

Represents the lowest level of IRC communication: a line received from the server.


Field Summary
static MessageInfo info
          Information about message for scripting system.
 
Fields inherited from class leafchat.core.api.Msg
PRIORITY_AFTERNORMAL, PRIORITY_BEFORENORMAL, PRIORITY_EARLY, PRIORITY_FIRST, PRIORITY_LAST, PRIORITY_LATE, PRIORITY_NORMAL
 
Constructor Summary
ServerLineMsg(Server s, byte[] line, int sequence)
           
 
Method Summary
 byte[] getLine()
           
 
Methods inherited from class com.leafdigital.irc.api.ServerMsg
getServer
 
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
Information about message for scripting system.

Constructor Detail

ServerLineMsg

public ServerLineMsg(Server s,
                     byte[] line,
                     int sequence)
Parameters:
s - Server that sent this line
line - Line of text
sequence - Message sequence
Method Detail

getLine

public byte[] getLine()
Returns:
Line of text that was received (not including CRLF)


Copyright © 2011 Samuel Marshall. All rights reserved.