Example usage for org.apache.thrift.protocol TMessage TMessage

List of usage examples for org.apache.thrift.protocol TMessage TMessage

Introduction

In this page you can find the example usage for org.apache.thrift.protocol TMessage TMessage.

Prototype

public TMessage() 

Source Link

Usage

From source file:com.ebay.nest.io.sede.thrift.TCTLSeparatedProtocol.java

License:Apache License

@Override
public TMessage readMessageBegin() throws TException {
    return new TMessage();
}

From source file:com.facebook.nifty.core.TestNiftyTransport.java

License:Apache License

private <T extends TTransport> T writeFirstChunk(T outTransport) throws TException {
    TProtocol outProtocol = new TBinaryProtocol(outTransport);

    outProtocol.writeMessageBegin(new TMessage());
    outProtocol.writeString("hello world");

    return outTransport;
}