Package org.hyperledger.fabric.shim
Interface ChaincodeServer
-
- All Known Implementing Classes:
NettyChaincodeServer
public interface ChaincodeServer
External chaincode server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
start()
run external chaincode server.void
stop()
shutdown now grpc server.
-
-
-
Method Detail
-
start
void start() throws java.io.IOException, java.lang.InterruptedException
run external chaincode server.- Throws:
java.io.IOException
- problem while start grpc serverjava.lang.InterruptedException
- thrown when block and awaiting shutdown gprc server
-
stop
void stop()
shutdown now grpc server.
-
-