org.apache.blur.server
Class ControllerServerEventHandler

java.lang.Object
  extended by org.apache.blur.server.ControllerServerEventHandler
All Implemented Interfaces:
TServerEventHandler

public class ControllerServerEventHandler
extends Object
implements TServerEventHandler

ConrtollerServerContext is the session manager for the controller servers.


Constructor Summary
ControllerServerEventHandler()
           
 
Method Summary
 ServerContext createContext(TProtocol input, TProtocol output, Object selectionKeyObject)
          Called when a new client has connected and is about to being processing.
 void deleteContext(ServerContext serverContext, TProtocol input, TProtocol output)
          Called when a client has finished request-handling to delete server context.
 void preServe()
          Called before the server begins.
 void processContext(ServerContext serverContext, TTransport inputTransport, TTransport outputTransport)
          Called when a client is about to call the processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerServerEventHandler

public ControllerServerEventHandler()
Method Detail

preServe

public void preServe()
Description copied from interface: TServerEventHandler
Called before the server begins.

Specified by:
preServe in interface TServerEventHandler

createContext

public ServerContext createContext(TProtocol input,
                                   TProtocol output,
                                   Object selectionKeyObject)
Description copied from interface: TServerEventHandler
Called when a new client has connected and is about to being processing.

Specified by:
createContext in interface TServerEventHandler

deleteContext

public void deleteContext(ServerContext serverContext,
                          TProtocol input,
                          TProtocol output)
Description copied from interface: TServerEventHandler
Called when a client has finished request-handling to delete server context.

Specified by:
deleteContext in interface TServerEventHandler

processContext

public void processContext(ServerContext serverContext,
                           TTransport inputTransport,
                           TTransport outputTransport)
Description copied from interface: TServerEventHandler
Called when a client is about to call the processor.

Specified by:
processContext in interface TServerEventHandler


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.