Package org.hyperledger.fabric.sdk
Class Channel.ServiceDiscoveryChaincodeCalls
- java.lang.Object
-
- org.hyperledger.fabric.sdk.Channel.ServiceDiscoveryChaincodeCalls
-
- Enclosing class:
- Channel
public static class Channel.ServiceDiscoveryChaincodeCalls extends java.lang.Object
Additional metadata used by service discovery to find the endorsements needed. Specify which chaincode is invoked and what collections are used.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Channel.ServiceDiscoveryChaincodeCalls
addCollections(java.lang.String... collectionName)
The collections used by this chaincode.static Channel.ServiceDiscoveryChaincodeCalls
createServiceDiscoveryChaincodeCalls(java.lang.String name)
Create ch
-
-
-
Method Detail
-
addCollections
public Channel.ServiceDiscoveryChaincodeCalls addCollections(java.lang.String... collectionName)
The collections used by this chaincode.- Parameters:
collectionName
- name of collection.- Returns:
-
createServiceDiscoveryChaincodeCalls
public static Channel.ServiceDiscoveryChaincodeCalls createServiceDiscoveryChaincodeCalls(java.lang.String name) throws InvalidArgumentException
Create ch- Parameters:
name
-- Returns:
- Throws:
InvalidArgumentException
-
-