org.eclipse.ecf.example.clients.applications
Class ChatSORobotApplication

java.lang.Object
  extended by org.eclipse.ecf.example.clients.applications.ChatSORobotApplication
All Implemented Interfaces:
IMessageReceiver, org.eclipse.equinox.app.IApplication

public class ChatSORobotApplication
extends java.lang.Object
implements org.eclipse.equinox.app.IApplication, IMessageReceiver


Field Summary
static int WAIT_COUNT
           
static int WAIT_TIME
           
 
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
ChatSORobotApplication()
           
 
Method Summary
protected  void createSharedObject()
           
 void handleMessage(IChatMessage chatMessage)
           
 java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAIT_TIME

public static final int WAIT_TIME
See Also:
Constant Field Values

WAIT_COUNT

public static final int WAIT_COUNT
See Also:
Constant Field Values
Constructor Detail

ChatSORobotApplication

public ChatSORobotApplication()
Method Detail

start

public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
                       throws java.lang.Exception
Specified by:
start in interface org.eclipse.equinox.app.IApplication
Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface org.eclipse.equinox.app.IApplication

createSharedObject

protected void createSharedObject()
                           throws ECFException
Throws:
ECFException

handleMessage

public void handleMessage(IChatMessage chatMessage)
Specified by:
handleMessage in interface IMessageReceiver