synergynetframework.appsystem.services.tablecontrolclient
Class TableControlClientService

java.lang.Object
  extended by synergynetframework.appsystem.services.SynergyNetService
      extended by synergynetframework.appsystem.services.tablecontrolclient.TableControlClientService
All Implemented Interfaces:
TableCommsApplicationListener

public class TableControlClientService
extends SynergyNetService
implements TableCommsApplicationListener

The Class TableControlClientService.


Constructor Summary
TableControlClientService()
           
 
Method Summary
 boolean hasStarted()
          Checks for started.
 void messageReceived(java.lang.Object obj)
          Message received.
 void shutdown()
          Shutdown.
 void start()
          Start.
 void stop()
          Stop.
 void tableDisconnected()
          Table disconnected.
 void update()
          Used to avoid threading issues.
 
Methods inherited from class synergynetframework.appsystem.services.SynergyNetService
registerServiceMessageListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableControlClientService

public TableControlClientService()
Method Detail

hasStarted

public boolean hasStarted()
Description copied from class: SynergyNetService
Checks for started.

Specified by:
hasStarted in class SynergyNetService
Returns:
true, if successful

messageReceived

public void messageReceived(java.lang.Object obj)
Description copied from interface: TableCommsApplicationListener
Message received.

Specified by:
messageReceived in interface TableCommsApplicationListener
Parameters:
obj - the obj

shutdown

public void shutdown()
Description copied from class: SynergyNetService
Shutdown.

Specified by:
shutdown in class SynergyNetService

start

public void start()
           throws CouldNotStartServiceException
Description copied from class: SynergyNetService
Start.

Throws:
CouldNotStartServiceException - the could not start service exception

stop

public void stop()
          throws ServiceNotRunningException
Description copied from class: SynergyNetService
Stop.

Specified by:
stop in class SynergyNetService
Throws:
ServiceNotRunningException - the service not running exception

tableDisconnected

public void tableDisconnected()
Description copied from interface: TableCommsApplicationListener
Table disconnected.

Specified by:
tableDisconnected in interface TableCommsApplicationListener

update

public void update()
Description copied from class: SynergyNetService
Used to avoid threading issues. Should be called periodically to ensure the service updates appropriately.

Specified by:
update in class SynergyNetService