public class Message extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Message.Invocation |
Modifier and Type | Field and Description |
---|---|
ThriftFactories |
thriftFactories |
org.apache.thrift.transport.TNonblockingTransport |
transport |
Constructor and Description |
---|
Message(org.apache.thrift.transport.TNonblockingTransport trans,
SelectionKey key,
ThriftFactories factories,
boolean heapBasedAllocation,
boolean reallocateBuffers) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
changeSelectInterests()
Give this Message a chance to change its interests.
|
void |
close()
Shut the connection down.
|
void |
invoke()
Actually invoke the method signified by this Message.
|
boolean |
isFrameFullyRead() |
boolean |
isReadyToRead() |
boolean |
isReadyToWrite() |
boolean |
read()
Give this Message a chance to read.
|
void |
responseReady() |
boolean |
write()
Give this Message a chance to write its output to the final client.
|
public final org.apache.thrift.transport.TNonblockingTransport transport
public final ThriftFactories thriftFactories
public Message(org.apache.thrift.transport.TNonblockingTransport trans, SelectionKey key, ThriftFactories factories, boolean heapBasedAllocation, boolean reallocateBuffers)
public boolean isReadyToRead()
public boolean isReadyToWrite()
public boolean read()
public boolean isFrameFullyRead()
public boolean write()
public void changeSelectInterests()
public void responseReady()
public void invoke()
public void close()
public void cancel()
Copyright © 2013–2017. All rights reserved.