All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.finagle.thrift.ThriftClientRequest Maven / Gradle / Ivy

There is a newer version: 24.2.0
Show newest version
package com.twitter.finagle.thrift;

/**
 * Defines a (framed) thrift request, simply composed of the raw
 * message and a boolean indicating whether it is a one-shot message or
 * not.
 */

public class ThriftClientRequest {
  public byte[] message;
  public boolean oneway;

  public ThriftClientRequest(byte[] message, boolean oneway) {
    this.message = message;
    this.oneway = oneway;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy