ix.ip2
Class Ip2Applet.AppletIp2

java.lang.Object
  extended by ix.icore.IXAgent
      extended by ix.ip2.Ip2
          extended by ix.ip2.Ip2Applet.AppletIp2
Enclosing class:
Ip2Applet

public class Ip2Applet.AppletIp2
extends Ip2


Nested Class Summary
 
Nested classes/interfaces inherited from class ix.ip2.Ip2
Ip2.AddExtensionsHandler, Ip2.AddHandlersHandler
 
Field Summary
 
Fields inherited from class ix.ip2.Ip2
activityViewer, agentTypeName, annotationViewer, controller, domain, frame, issueViewer, logoImage, logoLine1, logoLine2, modelManager, optionManager, resetHooks, showOptions, stateViewer
 
Fields inherited from class ix.icore.IXAgent
contactManager, displayName, eventLogger, exitHooks, initialDisplayName, ipcName, ipcStrategyName, iSimTimer, knownAgents, nameListeners, startupDate, startupHooks, symbolName, textFrame, thisAgent
 
Method Summary
 void destroy()
           
 void exit()
          Called when the agent should cease execution.
 java.applet.Applet getApplet()
           
protected  Ip2Frame makeIp2Frame()
          Called to make the main user interface frame.
 void start()
           
protected  void startServer(java.lang.Object agentName, java.lang.String strategyName)
          Set the main (global) IPC communication strategy and set up to receive messages by calling the strategy's setupServer method.
 void stop()
           
 
Methods inherited from class ix.ip2.Ip2
addAboutInfo, addForwardingHandler, addHandlers, addHandlers, addResetHook, addTest, addTestMenuItems, addTool, clearAllButState, clearModel, completeStartup, do_reloadViewers, ensureTool, getActivityPatternSyntaxes, getAgentTypeName, getController, getDomain, getFrame, getIp2ModelManager, getModelManager, getOptionManager, getPlan, handleInput, handleInputDirectly, handleNewActivity, handleNewChatMessage, handleNewConstraint, handleNewIssue, handleNewReport, initOptions, isReloadingViewers, loadDomain, loadInitialPlan, loadPlan, loadPlan, loadPlan, main, makeActivityViewer, makeAnnotationViewer, makeController, makeIssueViewer, makeLogoPanel, makeModelManager, makeStateViewer, makeViewer, processCommandLineArguments, readDomain, readDomain, reloadViewers, reset, resetAllButState, resetViewers, savePlanAs, startup
 
Methods inherited from class ix.icore.IXAgent
addAgentNameListener, addExitHook, addStartupHook, displayMessage, do_mainStartup, fireSymbolNameChanged, getAgent, getAgentDisplayName, getAgentIPCName, getAgentStartupDate, getAgentSymbolName, getContactManager, getEventLogger, getISimTimer, getKnownAgents, handleReceivedReport, installAgentExtensions, installAgentExtensions, log, mainStartup, notePossibleNewContact, pre_handleInput, preprocessInput, reportInputException, setAgentSymbolName, setupISimTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApplet

public java.applet.Applet getApplet()

makeIp2Frame

protected Ip2Frame makeIp2Frame()
Description copied from class: Ip2
Called to make the main user interface frame. This merely creates the frame, with almost nothing filled in. The frame's Ip2Frame.setUp() is later called to do most of the work.

Overrides:
makeIp2Frame in class Ip2

startServer

protected void startServer(java.lang.Object agentName,
                           java.lang.String strategyName)
Description copied from class: IXAgent
Set the main (global) IPC communication strategy and set up to receive messages by calling the strategy's setupServer method. If the "enqueue-incoming-messages" parameter is true, it uses a BufferedMessageListener so that the thread that supplies a message need't wait for the message to be processed by the panel; otherwise, a plain MessageListener is used. In both cases, the listener delivers the message by calling IXAgent.pre_handleInput(IPC.InputMessage), but a buffered listener has its own thread that waits for that call to return before looking for the next message.

Overrides:
startServer in class IXAgent
See Also:
IPC, IPC.setupServer(Object, IPC.MessageListener), IPC.BufferedMessageListener

exit

public void exit()
Description copied from class: Ip2
Called when the agent should cease execution.

Overrides:
exit in class Ip2

start

public void start()

stop

public void stop()

destroy

public void destroy()