com.caucho.server.hmux
Class AbstractClusterRequest

java.lang.Object
  extended by com.caucho.server.hmux.AbstractClusterRequest

public abstract class AbstractClusterRequest
extends java.lang.Object

Handles cluster requests from a remote dispatcher.


Constructor Summary
AbstractClusterRequest()
           
 
Method Summary
abstract  int handleRequest(ReadStream is, WriteStream os)
          Handles a new request.
abstract  void setRequest(HmuxRequest request)
           
abstract  void setServer(Server server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClusterRequest

public AbstractClusterRequest()
Method Detail

setServer

public abstract void setServer(Server server)

setRequest

public abstract void setRequest(HmuxRequest request)

handleRequest

public abstract int handleRequest(ReadStream is,
                                  WriteStream os)
                           throws java.io.IOException
Handles a new request. Initializes the protocol handler and the request streams.

Note: ClientDisconnectException must be rethrown to the caller.

Throws:
java.io.IOException