com.leafdigital.irc.api
Class ServerSendMsg

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

public class ServerSendMsg
extends ServerMsg

Communication to be sent to an IRC server.

Note: This message is marked handled once it has been sent. Marking it handled beforehand will prevent it being sent.


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
ServerSendMsg(Server s, byte[] line)
           
 
Method Summary
 byte[] getLine()
           
 void setLine(byte[] line)
           
 
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

ServerSendMsg

public ServerSendMsg(Server s,
                     byte[] line)
Parameters:
s - Server to send line on
line - Line of data to send
Method Detail

getLine

public byte[] getLine()
Returns:
Line of data

setLine

public void setLine(byte[] line)
Parameters:
line - New value for line of data


Copyright © 2011 Samuel Marshall. All rights reserved.