org.apache.blur.server
Class ControllerServerContext

java.lang.Object
  extended by org.apache.blur.server.BlurServerContext
      extended by org.apache.blur.server.ControllerServerContext
All Implemented Interfaces:
ServerContext, ThriftTrace

public class ControllerServerContext
extends BlurServerContext
implements ServerContext

The thrift session that holds the connection string of the client.


Constructor Summary
ControllerServerContext(SocketAddress localSocketAddress, SocketAddress remoteSocketAddress)
           
 
Method Summary
static ControllerServerContext getControllerServerContext()
          Gets the ControllerServerContext for this Thread.
static void registerContextForCall(ControllerServerContext context)
          Registers the ControllerServerContext for this thread.
 
Methods inherited from class org.apache.blur.server.BlurServerContext
getConnectionString, getRemoteSocketAddress, getRocalSocketAddress, getTracer, getTraceRequestId, getTraceRootId, getUser, resetTraceIds, setTraceRequestId, setTraceRootId, setUser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerServerContext

public ControllerServerContext(SocketAddress localSocketAddress,
                               SocketAddress remoteSocketAddress)
Method Detail

registerContextForCall

public static void registerContextForCall(ControllerServerContext context)
Registers the ControllerServerContext for this thread.

Parameters:
context - the ControllerServerContext.

getControllerServerContext

public static ControllerServerContext getControllerServerContext()
Gets the ControllerServerContext for this Thread.

Returns:
the ControllerServerContext.


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