com.github.manosbatsis.corda.testacles.mocknetwork / NodeHandles
NodeHandles¶
class NodeHandles :
AbstractNodesMap
<StartedMockNode>
ThemockNetwork‘s StartedMockNodes, each mapped by multiple keys:
- the original input key
- identity (Party)
- identity name (CordaX500Name
- identity name (string representation)
- organization name
- organization name with lower case first char, without spaces
- organization name in lower case without spaces
In other words getNode["O=PartyA, L=Athens, C=GR"]
is the same as getNode["partya"]
Constructors¶
Name | Summary |
---|---|
<init> | NodeHandles(network: MockNetwork, input: Map < String , StartedMockNode>) ThemockNetwork‘s StartedMockNodes, each mapped by multiple keys: |
Properties¶
Name | Summary |
---|---|
network | val network: MockNetwork |
Functions¶
Name | Summary |
---|---|
getIdentity | fun getIdentity(of: StartedMockNode): Party |
Inherited Functions¶
Name | Summary |
---|---|
getNode | fun getNode(key: Any ): T |