Example usage for org.apache.thrift.protocol TProtocolDecorator subclass-usage

List of usage examples for org.apache.thrift.protocol TProtocolDecorator subclass-usage

Introduction

In this page you can find the example usage for org.apache.thrift.protocol TProtocolDecorator subclass-usage.

Usage

From source file io.opentracing.thrift.ServerInProtocolDecorator.java

class ServerInProtocolDecorator extends TProtocolDecorator {

    private final Tracer tracer;
    private final TMessage message;
    private final SpanBuilder spanBuilder;
    private boolean nextSpan;

From source file io.opentracing.thrift.ServerOutProtocolDecorator.java

class ServerOutProtocolDecorator extends TProtocolDecorator {

    private final Tracer tracer;

    ServerOutProtocolDecorator(TProtocol protocol, Tracer tracer) {
        super(protocol);

From source file io.opentracing.thrift.SpanProtocol.java

/**
 * <code>SpanProtocol</code> is a protocol-independent concrete decorator that allows a Thrift
 * client to communicate with a tracing Thrift server, by adding the span context to the string
 * field during function calls.
 *
 * <p>NOTE: THIS IS NOT USED BY SERVERS.  On the server, use {@link SpanProcessor} to handle

From source file org.diqube.connection.integrity.IntegrityCheckingProtocol.java

/**
 * A {@link TProtocol} which writes HMACs to all messages in order to validate them again when reading a message.
 * 
 * <p>
 * The transport of the protocol that this protocol is based on needs to be a {@link RememberingTransport}!
 *