Package org.hyperledger.fabric.shim
Class ChatChaincodeWithPeer
- java.lang.Object
-
- org.hyperledger.fabric.protos.peer.ChaincodeGrpc.ChaincodeImplBase
-
- org.hyperledger.fabric.shim.ChatChaincodeWithPeer
-
- All Implemented Interfaces:
io.grpc.BindableService
public class ChatChaincodeWithPeer extends org.hyperledger.fabric.protos.peer.ChaincodeGrpc.ChaincodeImplBase
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.stub.StreamObserver<org.hyperledger.fabric.protos.peer.ChaincodeMessage>
connect(io.grpc.stub.StreamObserver<org.hyperledger.fabric.protos.peer.ChaincodeMessage> responseObserver)
Chaincode as a server - peer establishes a connection to the chaincode as a client Currently only supports a stream connection.
-
-
-
Method Detail
-
connect
public io.grpc.stub.StreamObserver<org.hyperledger.fabric.protos.peer.ChaincodeMessage> connect(io.grpc.stub.StreamObserver<org.hyperledger.fabric.protos.peer.ChaincodeMessage> responseObserver)
Chaincode as a server - peer establishes a connection to the chaincode as a client Currently only supports a stream connection.- Overrides:
connect
in classorg.hyperledger.fabric.protos.peer.ChaincodeGrpc.ChaincodeImplBase
- Parameters:
responseObserver
-- Returns:
-
-