org.apache.hadoop.ipc
Class Server.Connection
java.lang.Object
org.apache.hadoop.ipc.Server.Connection
- Enclosing class:
- Server
public class Server.Connection
- extends Object
Reads calls from a connection and queues them for handling.
attemptingUser
public UserGroupInformation attemptingUser
Server.Connection
public Server.Connection(SelectionKey key,
SocketChannel channel,
long lastContact)
toString
public String toString()
- Overrides:
toString
in class Object
getHostAddress
public String getHostAddress()
getHostInetAddress
public InetAddress getHostInetAddress()
setLastContact
public void setLastContact(long lastContact)
getLastContact
public long getLastContact()
readAndProcess
public int readAndProcess()
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2009 The Apache Software Foundation