Package org.apache.thrift.server
Class AbstractNonblockingServer.AsyncFrameBuffer
- java.lang.Object
-
- org.apache.thrift.server.AbstractNonblockingServer.FrameBuffer
-
- org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer
-
- Enclosing class:
- AbstractNonblockingServer
public class AbstractNonblockingServer.AsyncFrameBuffer extends AbstractNonblockingServer.FrameBuffer
-
-
Field Summary
-
Fields inherited from class org.apache.thrift.server.AbstractNonblockingServer.FrameBuffer
buffer_, context_, frameTrans_, inProt_, inTrans_, outProt_, outTrans_, response_, selectionKey_, selectThread_, state_, trans_
-
-
Constructor Summary
Constructors Constructor Description AsyncFrameBuffer(TNonblockingTransport trans, java.nio.channels.SelectionKey selectionKey, AbstractNonblockingServer.AbstractSelectThread selectThread)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TProtocol
getInputProtocol()
TProtocol
getOutputProtocol()
void
invoke()
Actually invoke the method signified by this FrameBuffer.-
Methods inherited from class org.apache.thrift.server.AbstractNonblockingServer.FrameBuffer
changeSelectInterests, close, isFrameFullyRead, read, requestSelectInterestChange, responseReady, write
-
-
-
-
Constructor Detail
-
AsyncFrameBuffer
public AsyncFrameBuffer(TNonblockingTransport trans, java.nio.channels.SelectionKey selectionKey, AbstractNonblockingServer.AbstractSelectThread selectThread)
-
-
Method Detail
-
getInputProtocol
public TProtocol getInputProtocol()
-
getOutputProtocol
public TProtocol getOutputProtocol()
-
invoke
public void invoke()
Description copied from class:AbstractNonblockingServer.FrameBuffer
Actually invoke the method signified by this FrameBuffer.- Overrides:
invoke
in classAbstractNonblockingServer.FrameBuffer
-
-