com.aol.acc
Class AccPlugin

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccPlugin

public class AccPlugin
extends AccBase

The IAccPlugin interface must be implemented by AIM plugins.


Method Summary
 void init(AccSession session, AccPluginInfo pluginInfo)
          In the call, the application is started and the plugin is being
initialized.
 void shutdown()
          The converse to the Init() call.
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(AccSession session,
                 AccPluginInfo pluginInfo)
          throws AccException
In the call, the application is started and the plugin is being
initialized. The plugin should perform initialization and save the
passed-in IAccSession. The plugin may register commands it supports
using its IAccPluginInfo object. The plugin should not make any
assumptions about the state of the session at this point in time.

Throws:
AccException

shutdown

public void shutdown()
              throws AccException
The converse to the Init() call. Shutdown() tells the plugin that the
application is either shutting down, or that the user has disabled the
plugin. The plugin must release all references to AIMCC objects and
clean up.

Throws:
AccException