|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.icore.IXAgent ix.ip2.Ip2 ix.ip2.Ip2Applet.AppletIp2
public class Ip2Applet.AppletIp2
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.ip2.Ip2 |
---|
Ip2.AddExtensionsHandler, Ip2.AddHandlersHandler |
Field Summary | |
---|---|
(package private) AppletCommunicationStrategy |
commStrategy
|
(package private) Domain |
savedDomain
|
(package private) Plan |
savedPlan
|
Fields inherited from class ix.ip2.Ip2 |
---|
activityViewer, agentTypeName, annotationViewer, classic, 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, mainAgent, nameListeners, startupDate, startupHooks, symbolName, textFrame |
Constructor Summary | |
---|---|
Ip2Applet.AppletIp2()
|
Method Summary | |
---|---|
void |
destroy()
|
(package private) void |
disposeFrames()
|
void |
exit()
Called when the agent should cease execution. |
java.applet.Applet |
getApplet()
|
protected Ip2Frame |
makeIp2Frame()
Called to make the main user interface frame. |
(package private) void |
restart(Ip2Applet newApplet)
|
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Plan savedPlan
Domain savedDomain
AppletCommunicationStrategy commStrategy
Constructor Detail |
---|
Ip2Applet.AppletIp2()
Method Detail |
---|
public java.applet.Applet getApplet()
protected Ip2Frame makeIp2Frame()
Ip2
Ip2Frame.setUp()
is later called to do most of the work.
makeIp2Frame
in class Ip2
protected void startServer(java.lang.Object agentName, java.lang.String strategyName)
IXAgent
"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.
startServer
in class IXAgent
IPC
,
IPC.setupServer(Object, IPC.MessageListener)
,
IPC.BufferedMessageListener
public void exit()
IXAgent
exit
in class IXAgent
public void start()
public void stop()
public void destroy()
void restart(Ip2Applet newApplet)
void disposeFrames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |