public static final class SessionServiceGrpc.SessionServiceStub extends io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceStub>
| Modifier and Type | Method and Description |
|---|---|
protected SessionServiceGrpc.SessionServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
io.grpc.stub.StreamObserver<SessionProto.Transaction.Req> |
transaction(io.grpc.stub.StreamObserver<SessionProto.Transaction.Res> responseObserver)
Represents a full transaction.
|
protected SessionServiceGrpc.SessionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceStub>public io.grpc.stub.StreamObserver<SessionProto.Transaction.Req> transaction(io.grpc.stub.StreamObserver<SessionProto.Transaction.Res> responseObserver)
Represents 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.
Copyright © 2018 Grakn Labs Ltd. All rights reserved.