public class SessionService extends SessionServiceGrpc.SessionServiceImplBase
| Modifier and Type | Class and Description |
|---|---|
static class |
SessionService.Iterators
Contains a mutable map of iterators of
Transaction.Ress for gRPC. |
| Constructor and Description |
|---|
SessionService(OpenRequest requestOpener,
PostProcessor postProcessor) |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.stub.StreamObserver<SessionProto.Transaction.Req> |
transaction(io.grpc.stub.StreamObserver<SessionProto.Transaction.Res> responseSender)
Represents a full transaction.
|
bindServicepublic SessionService(OpenRequest requestOpener, PostProcessor postProcessor)
public io.grpc.stub.StreamObserver<SessionProto.Transaction.Req> transaction(io.grpc.stub.StreamObserver<SessionProto.Transaction.Res> responseSender)
SessionServiceGrpc.SessionServiceImplBaseRepresents a full transaction. The stream of `Transaction.Req`s must begin with a `Open` message. When the call is completed, the transaction will always be closed, with or without a `Commit` message.
transaction in class SessionServiceGrpc.SessionServiceImplBaseCopyright © 2018 Grakn Labs Ltd. All rights reserved.