php.java.bridge.http
Interface IContextServer

All Known Implementing Classes:
SocketContextServer

public interface IContextServer

The interface that all ContextServers must implement.

Author:
jostb

Method Summary
 void destroy()
          Destroy the server
 boolean isAvailable()
          Check if the ContextServer is ready, i.e.
 boolean start(AbstractChannelName channel, ILogger logger)
          Start the runner.
 

Method Detail

destroy

void destroy()
Destroy the server


isAvailable

boolean isAvailable()
Check if the ContextServer is ready, i.e. it has created a server socket.

Returns:
true if there's a server socket listening, false otherwise.

start

boolean start(AbstractChannelName channel,
              ILogger logger)
Start the runner.

Parameters:
channel - The channel name
Returns:
true on success, false otherwise