synergynetframework.appsystem.services.net.tablecomms.server.processors
Class TableStatusRequestProcessor

java.lang.Object
  extended by synergynetframework.appsystem.services.net.tablecomms.server.processors.TableStatusRequestProcessor
All Implemented Interfaces:
ServerMessageProcessor

public class TableStatusRequestProcessor
extends java.lang.Object
implements ServerMessageProcessor

The Class TableStatusRequestProcessor.


Constructor Summary
TableStatusRequestProcessor()
           
 
Method Summary
 TableStatusResponse createTableStatusResponse(TableCommsServerService server)
          Creates the table status response.
 void handle(TableCommsServerService server, ConnectionHandler fromHandler, TableMessage obj)
          Handle.
 void sendTableStatusResponse(TableCommsServerService server, java.util.Collection<ConnectionHandler> handlers)
          Send table status response.
 void sendTableStatusResponse(TableCommsServerService server, ConnectionHandler... handlers)
          Send table status response.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableStatusRequestProcessor

public TableStatusRequestProcessor()
Method Detail

createTableStatusResponse

public TableStatusResponse createTableStatusResponse(TableCommsServerService server)
Creates the table status response.

Parameters:
server - the server
Returns:
the table status response

handle

public void handle(TableCommsServerService server,
                   ConnectionHandler fromHandler,
                   TableMessage obj)
            throws java.io.IOException
Description copied from interface: ServerMessageProcessor
Handle.

Specified by:
handle in interface ServerMessageProcessor
Parameters:
server - the server
fromHandler - the from handler
obj - the obj
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

sendTableStatusResponse

public void sendTableStatusResponse(TableCommsServerService server,
                                    java.util.Collection<ConnectionHandler> handlers)
                             throws java.io.IOException
Send table status response.

Parameters:
server - the server
handlers - the handlers
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

sendTableStatusResponse

public void sendTableStatusResponse(TableCommsServerService server,
                                    ConnectionHandler... handlers)
                             throws java.io.IOException
Send table status response.

Parameters:
server - the server
handlers - the handlers
Throws:
java.io.IOException - Signals that an I/O exception has occurred.