com.leafdigital.irc.api
Class ServerMsg

java.lang.Object
  extended by leafchat.core.api.Msg
      extended by com.leafdigital.irc.api.ServerMsg
Direct Known Subclasses:
ServerConnectedMsg, ServerConnectionFinishedMsg, ServerDisconnectedMsg, ServerLineMsg, ServerRearrangeMsg, ServerSendMsg

public abstract class ServerMsg
extends Msg

Any communication from or to an IRC 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
ServerMsg(Server s, int sequence)
           
 
Method Summary
 Server 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

ServerMsg

public ServerMsg(Server s,
                 int sequence)
Parameters:
s - Server that sent the message (or to which it will be sent)
sequence - Sequence number (or -1 if this is a 'send' message)
Method Detail

getServer

public Server getServer()
Returns:
Server that sent the message (or to which it will be sent)


Copyright © 2011 Samuel Marshall. All rights reserved.