public class TUGIContainingTransport extends TFilterTransport
TSocket
transport and annotates it with ugi.Modifier and Type | Class and Description |
---|---|
static class |
TUGIContainingTransport.Factory
Factory to create TUGIContainingTransport.
|
wrapped
Constructor and Description |
---|
TUGIContainingTransport(org.apache.thrift.transport.TTransport wrapped) |
Modifier and Type | Method and Description |
---|---|
UserGroupInformation |
getClientUGI() |
java.net.Socket |
getSocket()
If the underlying TTransport is an instance of TSocket, it returns the Socket object
which it contains.
|
void |
setClientUGI(UserGroupInformation ugi) |
close, consumeBuffer, flush, getBuffer, getBufferPosition, getBytesRemainingInBuffer, isOpen, open, peek, read, readAll, write, write
public TUGIContainingTransport(org.apache.thrift.transport.TTransport wrapped)
public UserGroupInformation getClientUGI()
public void setClientUGI(UserGroupInformation ugi)
public java.net.Socket getSocket()
Copyright © 2012 The Apache Software Foundation