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

src.test.resources.service_for_tests.thrift Maven / Gradle / Ivy

Go to download

Thrift Server implementation backed by LMAX Disruptor. Shows better throughput/latency characteristics than build-in THsHa and TThreadedSelector servers.

There is a newer version: 0.3.9
Show newest version
namespace java com.tinkerpop.thrift.test

enum OperationType {
  ADD,
  MUL,
  DIV,
  SUB
}

enum ArgType {
  INT,
  LONG,
}

struct Request {
  1: required i32 id;
  2: required binary arg1;
  3: required binary arg2;
  4: required ArgType argType;
  5: required OperationType operationType;
}

struct Response {
  1: i32 id;
  2: binary result;
  3: ArgType resType;
}

service TestService {
  Response invoke(1: Request req);
  oneway void ping();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy