Class AdminLineProc

java.lang.Object
  |
  +--org.nukesoft.bot2.lineproc.GenericLineProc
        |
        +--AdminLineProc
All Implemented Interfaces:
LineProc

public class AdminLineProc
extends GenericLineProc

The AdminLineProc is a generic administration line processor for the bot core. It provides remote access to most functions of the line proc context.

Author:
Ryan Michela

Field Summary
 
Fields inherited from class org.nukesoft.bot2.lineproc.GenericLineProc
context, myCommLibBindID, remoteScreenName
 
Constructor Summary
AdminLineProc()
           
 
Method Summary
 void handleIM(IM message)
          Handles an incomming IM.
 void init(String screenName)
          Called as soon as a line processor is loaded.
 
Methods inherited from class org.nukesoft.bot2.lineproc.GenericLineProc
bindContext, delay, handleWarn, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminLineProc

public AdminLineProc()
Method Detail

init

public void init(String screenName)
Description copied from interface: LineProc
Called as soon as a line processor is loaded. Used to perform any necesary initialization. It is better to do initialization here because you have access to the remote screen name of the person doing the initialization.

Specified by:
init in interface LineProc
Overrides:
init in class GenericLineProc
See Also:
LineProc.init(java.lang.String)

handleIM

public void handleIM(IM message)
Description copied from interface: LineProc
Handles an incomming IM. This method should generate a response IM, but that is not required.

Specified by:
handleIM in interface LineProc
Specified by:
handleIM in class GenericLineProc
See Also:
LineProc.handleIM(org.nukesoft.bot2.core.IM)