org.apache.hadoop.hbase.ipc
Class SecureServer.SecureConnection

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.HBaseServer.Connection
      extended by org.apache.hadoop.hbase.ipc.SecureServer.SecureConnection
Enclosing class:
SecureServer

public class SecureServer.SecureConnection
extends HBaseServer.Connection

Reads calls from a connection and queues them for handling.


Field Summary
 org.apache.hadoop.security.UserGroupInformation attemptingUser
           
protected  LinkedList<SecureServer.SecureCall> responseQueue
           
 
Fields inherited from class org.apache.hadoop.hbase.ipc.HBaseServer.Connection
channel, closed, hostAddress, remotePort, socket, ticket
 
Constructor Summary
SecureServer.SecureConnection(SocketChannel channel, long lastContact)
           
 
Method Summary
protected  void close()
           
 String getHostAddress()
           
 InetAddress getHostInetAddress()
           
protected  void processData(byte[] buf)
           
 int readAndProcess()
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hbase.ipc.HBaseServer.Connection
decRpcCount, getLastContact, getRemotePort, incRpcCount, setLastContact, timedOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

responseQueue

protected final LinkedList<SecureServer.SecureCall> responseQueue

attemptingUser

public org.apache.hadoop.security.UserGroupInformation attemptingUser
Constructor Detail

SecureServer.SecureConnection

public SecureServer.SecureConnection(SocketChannel channel,
                                     long lastContact)
Method Detail

toString

public String toString()
Overrides:
toString in class HBaseServer.Connection

getHostAddress

public String getHostAddress()
Overrides:
getHostAddress in class HBaseServer.Connection

getHostInetAddress

public InetAddress getHostInetAddress()

readAndProcess

public int readAndProcess()
                   throws IOException,
                          InterruptedException
Overrides:
readAndProcess in class HBaseServer.Connection
Throws:
IOException
InterruptedException

processData

protected void processData(byte[] buf)
                    throws IOException,
                           InterruptedException
Overrides:
processData in class HBaseServer.Connection
Throws:
IOException
InterruptedException

close

protected void close()
Overrides:
close in class HBaseServer.Connection


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.