com.leafdigital.irc.api
Class ServerDisconnectedMsg

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

public class ServerDisconnectedMsg
extends ServerMsg

Sent once a socket connection has been lost 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
ServerDisconnectedMsg(Server s, NetworkException ne, int sequence, boolean requested)
           
 
Method Summary
 NetworkException getException()
           
 boolean isRequested()
           
 
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

ServerDisconnectedMsg

public ServerDisconnectedMsg(Server s,
                             NetworkException ne,
                             int sequence,
                             boolean requested)
Parameters:
s - Server that is now disconnected
ne - Exception that caused disconnect (null if none)
sequence - Message sequence
requested - True if disconnect was requested by user
Method Detail

getException

public NetworkException getException()
Returns:
Exception that caused disconnect (null if none)

isRequested

public boolean isRequested()
Returns:
True if disconnect was requested by user via /quit or similar


Copyright © 2011 Samuel Marshall. All rights reserved.