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

.jelly.jelly-grpc_3.0.14.0.source-code.grpc.proto Maven / Gradle / Ivy

Go to download

Implementation of a gRPC client and server for the Jelly gRPC streaming protocol.

There is a newer version: 2.0.0
Show newest version
syntax = "proto3";
package eu.ostrzyciel.jelly.core.proto.v1;

// gRPC service specifications for RDF streaming.
// Protocol version: 1.0.0

import "rdf.proto";

// Subscribe command sent by the client to the server.
message RdfStreamSubscribe {
  // The topic to which the client wants to subscribe (UTF-8 encoded).
  string topic = 1;
  // Optional: the stream options requested by the client.
  // The server should respond with a stream that matches these options.
  // In case that is not possible, the server must respond with the
  // INVALID_ARGUMENT error.
  RdfStreamOptions requested_options = 2;
}

// Acknowledgement of receiving a stream sent by the server to the client.
message RdfStreamReceived {
}

// Pub/Sub service for RDF streams, to be implemented by the server.
service RdfStreamService {
  // Subscribe to an RDF stream.
  rpc SubscribeRdf (RdfStreamSubscribe) returns (stream RdfStreamFrame);
  // Publish an RDF stream.
  // In case the server cannot process the stream, it must respond with
  // the INVALID_ARGUMENT error.
  rpc PublishRdf (stream RdfStreamFrame) returns (RdfStreamReceived);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy