Package org.hyperledger.fabric.shim
Interface ChaincodeServer
-
- All Known Implementing Classes:
NettyChaincodeServer
public interface ChaincodeServerExternal chaincode server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstart()run external chaincode server.voidstop()shutdown now grpc server.
-
-
-
Method Detail
-
start
void start() throws java.io.IOException, java.lang.InterruptedExceptionrun 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.
-
-