mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
Rename node.core to node.internal from Rick's suggestion not to use core outside of the core package.
This commit is contained in:
parent
8e9055b907
commit
a7c0296f6b
16
docs/build/html/api/alltypes/index.html
vendored
16
docs/build/html/api/alltypes/index.html
vendored
@ -25,13 +25,13 @@ if the terminal supports it. Otherwise it just prints out the name of the step w
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../api/-a-p-i-server-impl/index.html">node.core.APIServerImpl</a></td>
|
||||
<a href="../api/-a-p-i-server-impl/index.html">node.internal.APIServerImpl</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.node/-abstract-node/index.html">node.core.AbstractNode</a></td>
|
||||
<a href="../core.node/-abstract-node/index.html">node.internal.AbstractNode</a></td>
|
||||
<td>
|
||||
<p>A base node implementation that can be customised either for production (with real implementations that do real
|
||||
I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
@ -243,7 +243,7 @@ and to organise serializers / deserializers for java.time.* classes as necessary
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.node/-configuration-exception/index.html">node.core.ConfigurationException</a></td>
|
||||
<a href="../core.node/-configuration-exception/index.html">node.internal.ConfigurationException</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
@ -534,7 +534,7 @@ that would divide into (eg annually = 1, semiannual = 2, monthly = 12 etc).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.testing/-i-r-s-simulation/index.html">node.core.testing.IRSSimulation</a></td>
|
||||
<a href="../core.testing/-i-r-s-simulation/index.html">node.internal.testing.IRSSimulation</a></td>
|
||||
<td>
|
||||
<p>A simulation in which banks execute interest rate swaps with each other, including the fixing events.</p>
|
||||
</td>
|
||||
@ -775,7 +775,7 @@ MockNetwork code.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.testing/-mock-network/index.html">node.core.testing.MockNetwork</a></td>
|
||||
<a href="../core.testing/-mock-network/index.html">node.internal.testing.MockNetwork</a></td>
|
||||
<td>
|
||||
<p>A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing.
|
||||
Components that do IO are either swapped out for mocks, or pointed to a <a href="#">Jimfs</a> in memory filesystem.</p>
|
||||
@ -831,7 +831,7 @@ replace each other based on a serial number present in the change.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.node/-node/index.html">node.core.Node</a></td>
|
||||
<a href="../core.node/-node/index.html">node.internal.Node</a></td>
|
||||
<td>
|
||||
<p>A Node manages a standalone server that takes part in the P2P network. It creates the services found in <a href="../core.node/-service-hub/index.html">ServiceHub</a>,
|
||||
loads important data off disk and starts listening for connections.</p>
|
||||
@ -1187,7 +1187,7 @@ contained within.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.testing/-simulation/index.html">node.core.testing.Simulation</a></td>
|
||||
<a href="../core.testing/-simulation/index.html">node.internal.testing.Simulation</a></td>
|
||||
<td>
|
||||
<p>Base class for network simulations that are based on the unit test / mock environment.</p>
|
||||
</td>
|
||||
@ -1335,7 +1335,7 @@ themselves.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../core.testing/-trade-simulation/index.html">node.core.testing.TradeSimulation</a></td>
|
||||
<a href="../core.testing/-trade-simulation/index.html">node.internal.testing.TradeSimulation</a></td>
|
||||
<td>
|
||||
<p>Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other,
|
||||
then B and C trade with each other, then C and A etc).</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">APIServerImpl</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$<init>(node.core.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">APIServerImpl</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$<init>(node.internal.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">buildTransaction</a><br/>
|
||||
<br/>
|
||||
<h1>buildTransaction</h1>
|
||||
<a name="node.core.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">buildTransaction</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/type">type</span><span class="symbol">:</span> <a href="../-contract-def-ref.html"><span class="identifier">ContractDefRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/steps">steps</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../-transaction-build-step/index.html"><span class="identifier">TransactionBuildStep</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">buildTransaction</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/type">type</span><span class="symbol">:</span> <a href="../-contract-def-ref.html"><span class="identifier">ContractDefRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/steps">steps</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../-transaction-build-step/index.html"><span class="identifier">TransactionBuildStep</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/build-transaction.html">APIServer.buildTransaction</a><br/>
|
||||
<p>TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder
|
||||
and a common contract type (e.g. Cash or CommercialPaper)
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">commitTransaction</a><br/>
|
||||
<br/>
|
||||
<h1>commitTransaction</h1>
|
||||
<a name="node.core.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">commitTransaction</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/signatures">signatures</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><br/>
|
||||
<a name="node.internal.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">commitTransaction</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/signatures">signatures</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/commit-transaction.html">APIServer.commitTransaction</a><br/>
|
||||
<p>Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be
|
||||
successful, otherwise exception is thrown.</p>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">fetchProtocolsRequiringAttention</a><br/>
|
||||
<br/>
|
||||
<h1>fetchProtocolsRequiringAttention</h1>
|
||||
<a name="node.core.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchProtocolsRequiringAttention</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../-protocol-requiring-attention/index.html"><span class="identifier">ProtocolRequiringAttention</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchProtocolsRequiringAttention</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../-protocol-requiring-attention/index.html"><span class="identifier">ProtocolRequiringAttention</span></a><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/fetch-protocols-requiring-attention.html">APIServer.fetchProtocolsRequiringAttention</a><br/>
|
||||
<p>Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).</p>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">fetchStates</a><br/>
|
||||
<br/>
|
||||
<h1>fetchStates</h1>
|
||||
<a name="node.core.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchStates</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))/states">states</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../../core/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">?</span><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchStates</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))/states">states</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../../core/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">?</span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/fetch-states.html">APIServer.fetchStates</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">fetchTransactions</a><br/>
|
||||
<br/>
|
||||
<h1>fetchTransactions</h1>
|
||||
<a name="node.core.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchTransactions</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))/txs">txs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">,</span> <a href="../../core/-signed-transaction/index.html"><span class="identifier">SignedTransaction</span></a><span class="symbol">?</span><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchTransactions</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))/txs">txs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">,</span> <a href="../../core/-signed-transaction/index.html"><span class="identifier">SignedTransaction</span></a><span class="symbol">?</span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/fetch-transactions.html">APIServer.fetchTransactions</a><br/>
|
||||
<p>Query for immutable transactions (results can be cached indefinitely by their id/hash).</p>
|
||||
<h3>Parameters</h3>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">generateTransactionSignature</a><br/>
|
||||
<br/>
|
||||
<h1>generateTransactionSignature</h1>
|
||||
<a name="node.core.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateTransactionSignature</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a></code><br/>
|
||||
<a name="node.internal.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateTransactionSignature</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/generate-transaction-signature.html">APIServer.generateTransactionSignature</a><br/>
|
||||
<p>Generate a signature for this transaction signed by us.</p>
|
||||
<br/>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">APIServerImpl</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$<init>(node.core.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code></td>
|
||||
<code><span class="identifier">APIServerImpl</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$<init>(node.internal.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -39,7 +39,7 @@
|
||||
<td>
|
||||
<a href="build-transaction.html">buildTransaction</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">buildTransaction</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/type">type</span><span class="symbol">:</span> <a href="../-contract-def-ref.html"><span class="identifier">ContractDefRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/steps">steps</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../-transaction-build-step/index.html"><span class="identifier">TransactionBuildStep</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span></code><p>TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder
|
||||
<code><span class="keyword">fun </span><span class="identifier">buildTransaction</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/type">type</span><span class="symbol">:</span> <a href="../-contract-def-ref.html"><span class="identifier">ContractDefRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$buildTransaction(node.api.ContractDefRef, kotlin.collections.List((node.api.TransactionBuildStep)))/steps">steps</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../-transaction-build-step/index.html"><span class="identifier">TransactionBuildStep</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span></code><p>TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder
|
||||
and a common contract type (e.g. Cash or CommercialPaper)
|
||||
which would automatically be passed as the first argument (wed need that to be a criteria/pattern of the generateXXX methods).</p>
|
||||
</td>
|
||||
@ -48,7 +48,7 @@ which would automatically be passed as the first argument (wed need that to be a
|
||||
<td>
|
||||
<a href="commit-transaction.html">commitTransaction</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">commitTransaction</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/signatures">signatures</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be
|
||||
<code><span class="keyword">fun </span><span class="identifier">commitTransaction</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$commitTransaction(core.serialization.SerializedBytes((core.contracts.WireTransaction)), kotlin.collections.List((core.crypto.DigitalSignature.WithKey)))/signatures">signatures</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be
|
||||
successful, otherwise exception is thrown.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -56,48 +56,48 @@ successful, otherwise exception is thrown.</p>
|
||||
<td>
|
||||
<a href="fetch-protocols-requiring-attention.html">fetchProtocolsRequiringAttention</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchProtocolsRequiringAttention</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../-protocol-requiring-attention/index.html"><span class="identifier">ProtocolRequiringAttention</span></a><span class="symbol">></span></code><p>Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchProtocolsRequiringAttention</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchProtocolsRequiringAttention(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../-protocol-requiring-attention/index.html"><span class="identifier">ProtocolRequiringAttention</span></a><span class="symbol">></span></code><p>Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="fetch-states.html">fetchStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchStates</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))/states">states</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../../core/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">?</span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchStates</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchStates(kotlin.collections.List((core.contracts.StateRef)))/states">states</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">,</span> <a href="../../core/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">?</span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="fetch-transactions.html">fetchTransactions</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchTransactions</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))/txs">txs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">,</span> <a href="../../core/-signed-transaction/index.html"><span class="identifier">SignedTransaction</span></a><span class="symbol">?</span><span class="symbol">></span></code><p>Query for immutable transactions (results can be cached indefinitely by their id/hash).</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">fetchTransactions</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$fetchTransactions(kotlin.collections.List((core.crypto.SecureHash)))/txs">txs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol"><</span><a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">,</span> <a href="../../core/-signed-transaction/index.html"><span class="identifier">SignedTransaction</span></a><span class="symbol">?</span><span class="symbol">></span></code><p>Query for immutable transactions (results can be cached indefinitely by their id/hash).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="generate-transaction-signature.html">generateTransactionSignature</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateTransactionSignature</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a></code><p>Generate a signature for this transaction signed by us.</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateTransactionSignature</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$generateTransactionSignature(core.serialization.SerializedBytes((core.contracts.WireTransaction)))/tx">tx</span><span class="symbol">:</span> <a href="../../core.serialization/-serialized-bytes/index.html"><span class="identifier">SerializedBytes</span></a><span class="symbol"><</span><a href="../../core/-wire-transaction/index.html"><span class="identifier">WireTransaction</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.crypto/-digital-signature/-with-key/index.html"><span class="identifier">WithKey</span></a></code><p>Generate a signature for this transaction signed by us.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="invoke-protocol-sync.html">invokeProtocolSync</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">invokeProtocolSync</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-protocol-ref.html"><span class="identifier">ProtocolRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Any</span><span class="symbol">?</span></code><p>This method would not return until the protocol is finished (hence the "Sync").</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">invokeProtocolSync</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-protocol-ref.html"><span class="identifier">ProtocolRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Any</span><span class="symbol">?</span></code><p>This method would not return until the protocol is finished (hence the "Sync").</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="provide-protocol-response.html">provideProtocolResponse</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">provideProtocolResponse</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../-protocol-instance-ref/index.html"><span class="identifier">ProtocolInstanceRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/choice">choice</span><span class="symbol">:</span> <a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Provide the response that a protocol is waiting for.</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">provideProtocolResponse</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../-protocol-instance-ref/index.html"><span class="identifier">ProtocolInstanceRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/choice">choice</span><span class="symbol">:</span> <a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Provide the response that a protocol is waiting for.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="query-states.html">queryStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">queryStates</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$queryStates(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span></code><p>Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them
|
||||
<code><span class="keyword">fun </span><span class="identifier">queryStates</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$queryStates(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span></code><p>Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them
|
||||
to probably be later inflated by fetchLedgerTransactions() or fetchStates() although because immutable you can cache them
|
||||
to avoid calling fetchLedgerTransactions() many times.</p>
|
||||
</td>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">invokeProtocolSync</a><br/>
|
||||
<br/>
|
||||
<h1>invokeProtocolSync</h1>
|
||||
<a name="node.core.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">invokeProtocolSync</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-protocol-ref.html"><span class="identifier">ProtocolRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Any</span><span class="symbol">?</span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">invokeProtocolSync</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-protocol-ref.html"><span class="identifier">ProtocolRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$invokeProtocolSync(node.api.ProtocolRef, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Any</span><span class="symbol">?</span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/invoke-protocol-sync.html">APIServer.invokeProtocolSync</a><br/>
|
||||
<p>This method would not return until the protocol is finished (hence the "Sync").</p>
|
||||
<p>Longer term wed add an Async version that returns some kind of ProtocolInvocationRef that could be queried and
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">node</a><br/>
|
||||
<br/>
|
||||
<h1>node</h1>
|
||||
<a name="node.core.APIServerImpl$node"></a>
|
||||
<a name="node.internal.APIServerImpl$node"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">node</span><span class="symbol">: </span><a href="../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">provideProtocolResponse</a><br/>
|
||||
<br/>
|
||||
<h1>provideProtocolResponse</h1>
|
||||
<a name="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">provideProtocolResponse</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../-protocol-instance-ref/index.html"><span class="identifier">ProtocolInstanceRef</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/choice">choice</span><span class="symbol">:</span> <a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">, </span><span class="identifier" id="node.core.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">provideProtocolResponse</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../-protocol-instance-ref/index.html"><span class="identifier">ProtocolInstanceRef</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/choice">choice</span><span class="symbol">:</span> <a href="../../core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.APIServerImpl$provideProtocolResponse(node.api.ProtocolInstanceRef, core.crypto.SecureHash, kotlin.collections.Map((kotlin.String, kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="identifier">Map</span><span class="symbol"><</span><span class="identifier">String</span><span class="symbol">,</span> <span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/provide-protocol-response.html">APIServer.provideProtocolResponse</a><br/>
|
||||
<p>Provide the response that a protocol is waiting for.</p>
|
||||
<h3>Parameters</h3>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">queryStates</a><br/>
|
||||
<br/>
|
||||
<h1>queryStates</h1>
|
||||
<a name="node.core.APIServerImpl$queryStates(node.api.StatesQuery)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">queryStates</span><span class="symbol">(</span><span class="identifier" id="node.core.APIServerImpl$queryStates(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.APIServerImpl$queryStates(node.api.StatesQuery)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">queryStates</span><span class="symbol">(</span><span class="identifier" id="node.internal.APIServerImpl$queryStates(node.api.StatesQuery)/query">query</span><span class="symbol">:</span> <a href="../-states-query/index.html"><span class="identifier">StatesQuery</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../core/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/query-states.html">APIServer.queryStates</a><br/>
|
||||
<p>Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them
|
||||
to probably be later inflated by fetchLedgerTransactions() or fetchStates() although because immutable you can cache them
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">api</a> / <a href="index.html">APIServerImpl</a> / <a href=".">serverTime</a><br/>
|
||||
<br/>
|
||||
<h1>serverTime</h1>
|
||||
<a name="node.core.APIServerImpl$serverTime()"></a>
|
||||
<a name="node.internal.APIServerImpl$serverTime()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">serverTime</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/LocalDateTime.html"><span class="identifier">LocalDateTime</span></a></code><br/>
|
||||
Overrides <a href="../-a-p-i-server/server-time.html">APIServer.serverTime</a><br/>
|
||||
<p>Report current UTC time as understood by the platform.</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.node.services</a> / <a href="../index.html">NodeInterestRates</a> / <a href="index.html">Service</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">Service</span><span class="symbol">(</span><span class="identifier" id="node.services.clientapi.NodeInterestRates.Service$<init>(node.core.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">Service</span><span class="symbol">(</span><span class="identifier" id="node.services.clientapi.NodeInterestRates.Service$<init>(node.internal.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><br/>
|
||||
<p>The Service that wraps <a href="../-oracle/index.html">Oracle</a> and handles messages/network interaction/request scrubbing.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">Service</span><span class="symbol">(</span><span class="identifier" id="node.services.clientapi.NodeInterestRates.Service$<init>(node.core.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><p>The Service that wraps <a href="../-oracle/index.html">Oracle</a> and handles messages/network interaction/request scrubbing.</p>
|
||||
<code><span class="identifier">Service</span><span class="symbol">(</span><span class="identifier" id="node.services.clientapi.NodeInterestRates.Service$<init>(node.internal.AbstractNode)/node">node</span><span class="symbol">:</span> <a href="../../../core.node/-abstract-node/index.html"><span class="identifier">AbstractNode</span></a><span class="symbol">)</span></code><p>The Service that wraps <a href="../-oracle/index.html">Oracle</a> and handles messages/network interaction/request scrubbing.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">AbstractNode</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/initialNetworkMapAddress">initialNetworkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/platformClock">platformClock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">AbstractNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/initialNetworkMapAddress">initialNetworkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/platformClock">platformClock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a><span class="symbol">)</span></code><br/>
|
||||
<p>A base node implementation that can be customised either for production (with real implementations that do real
|
||||
I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">PRIVATE_KEY_FILE_NAME</a><br/>
|
||||
<br/>
|
||||
<h1>PRIVATE_KEY_FILE_NAME</h1>
|
||||
<a name="node.core.AbstractNode.Companion$PRIVATE_KEY_FILE_NAME"></a>
|
||||
<a name="node.internal.AbstractNode.Companion$PRIVATE_KEY_FILE_NAME"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">PRIVATE_KEY_FILE_NAME</span><span class="symbol">: </span><span class="identifier">String</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">PUBLIC_IDENTITY_FILE_NAME</a><br/>
|
||||
<br/>
|
||||
<h1>PUBLIC_IDENTITY_FILE_NAME</h1>
|
||||
<a name="node.core.AbstractNode.Companion$PUBLIC_IDENTITY_FILE_NAME"></a>
|
||||
<a name="node.internal.AbstractNode.Companion$PUBLIC_IDENTITY_FILE_NAME"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">PUBLIC_IDENTITY_FILE_NAME</span><span class="symbol">: </span><span class="identifier">String</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">_servicesThatAcceptUploads</a><br/>
|
||||
<br/>
|
||||
<h1>_servicesThatAcceptUploads</h1>
|
||||
<a name="node.core.AbstractNode$_servicesThatAcceptUploads"></a>
|
||||
<a name="node.internal.AbstractNode$_servicesThatAcceptUploads"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">val </span><span class="identifier">_servicesThatAcceptUploads</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html"><span class="identifier">ArrayList</span></a><span class="symbol"><</span><a href="../-accepts-file-upload/index.html"><span class="identifier">AcceptsFileUpload</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">advertisedServices</a><br/>
|
||||
<br/>
|
||||
<h1>advertisedServices</h1>
|
||||
<a name="node.core.AbstractNode$advertisedServices"></a>
|
||||
<a name="node.internal.AbstractNode$advertisedServices"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">advertisedServices</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">api</a><br/>
|
||||
<br/>
|
||||
<h1>api</h1>
|
||||
<a name="node.core.AbstractNode$api"></a>
|
||||
<a name="node.internal.AbstractNode$api"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">api</span><span class="symbol">: </span><a href="../../api/-a-p-i-server/index.html"><span class="identifier">APIServer</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">configuration</a><br/>
|
||||
<br/>
|
||||
<h1>configuration</h1>
|
||||
<a name="node.core.AbstractNode$configuration"></a>
|
||||
<a name="node.internal.AbstractNode$configuration"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">configuration</span><span class="symbol">: </span><a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">constructStorageService</a><br/>
|
||||
<br/>
|
||||
<h1>constructStorageService</h1>
|
||||
<a name="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code><br/>
|
||||
<a name="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">dir</a><br/>
|
||||
<br/>
|
||||
<h1>dir</h1>
|
||||
<a name="node.core.AbstractNode$dir"></a>
|
||||
<a name="node.internal.AbstractNode$dir"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">dir</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">findMyLocation</a><br/>
|
||||
<br/>
|
||||
<h1>findMyLocation</h1>
|
||||
<a name="node.core.AbstractNode$findMyLocation()"></a>
|
||||
<a name="node.internal.AbstractNode$findMyLocation()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">findMyLocation</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-physical-location/index.html"><span class="identifier">PhysicalLocation</span></a><span class="symbol">?</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">identity</a><br/>
|
||||
<br/>
|
||||
<h1>identity</h1>
|
||||
<a name="node.core.AbstractNode$identity"></a>
|
||||
<a name="node.internal.AbstractNode$identity"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">identity</span><span class="symbol">: </span><a href="../../core.node.services/-identity-service/index.html"><span class="identifier">IdentityService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">inNodeNetworkMapService</a><br/>
|
||||
<br/>
|
||||
<h1>inNodeNetworkMapService</h1>
|
||||
<a name="node.core.AbstractNode$inNodeNetworkMapService"></a>
|
||||
<a name="node.internal.AbstractNode$inNodeNetworkMapService"></a>
|
||||
<code><span class="keyword">var </span><span class="identifier">inNodeNetworkMapService</span><span class="symbol">: </span><a href="../../core.node.services/-network-map-service/index.html"><span class="identifier">NetworkMapService</span></a><span class="symbol">?</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">inNodeTimestampingService</a><br/>
|
||||
<br/>
|
||||
<h1>inNodeTimestampingService</h1>
|
||||
<a name="node.core.AbstractNode$inNodeTimestampingService"></a>
|
||||
<a name="node.internal.AbstractNode$inNodeTimestampingService"></a>
|
||||
<code><span class="keyword">var </span><span class="identifier">inNodeTimestampingService</span><span class="symbol">: </span><a href="../../core.node.services/-node-timestamper-service/index.html"><span class="identifier">NodeTimestamperService</span></a><span class="symbol">?</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -19,7 +19,7 @@ I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">AbstractNode</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/initialNetworkMapAddress">initialNetworkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/platformClock">platformClock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a><span class="symbol">)</span></code><p>A base node implementation that can be customised either for production (with real implementations that do real
|
||||
<code><span class="identifier">AbstractNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/initialNetworkMapAddress">initialNetworkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/platformClock">platformClock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a><span class="symbol">)</span></code><p>A base node implementation that can be customised either for production (with real implementations that do real
|
||||
I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -176,7 +176,7 @@ I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
<td>
|
||||
<a href="construct-storage-service.html">constructStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -188,7 +188,7 @@ I/O), or a mock implementation suitable for unit test environments.</p>
|
||||
<td>
|
||||
<a href="initialise-storage-service.html">initialiseStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">info</a><br/>
|
||||
<br/>
|
||||
<h1>info</h1>
|
||||
<a name="node.core.AbstractNode$info"></a>
|
||||
<a name="node.internal.AbstractNode$info"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">info</span><span class="symbol">: </span><a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">initialNetworkMapAddress</a><br/>
|
||||
<br/>
|
||||
<h1>initialNetworkMapAddress</h1>
|
||||
<a name="node.core.AbstractNode$initialNetworkMapAddress"></a>
|
||||
<a name="node.internal.AbstractNode$initialNetworkMapAddress"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">initialNetworkMapAddress</span><span class="symbol">: </span><a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">initialiseStorageService</a><br/>
|
||||
<br/>
|
||||
<h1>initialiseStorageService</h1>
|
||||
<a name="node.core.AbstractNode$initialiseStorageService(java.nio.file.Path)"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code><br/>
|
||||
<a name="node.internal.AbstractNode$initialiseStorageService(java.nio.file.Path)"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">interestRatesService</a><br/>
|
||||
<br/>
|
||||
<h1>interestRatesService</h1>
|
||||
<a name="node.core.AbstractNode$interestRatesService"></a>
|
||||
<a name="node.internal.AbstractNode$interestRatesService"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">interestRatesService</span><span class="symbol">: </span><a href="../../core.node.services/-node-interest-rates/-service/index.html"><span class="identifier">Service</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">keyManagement</a><br/>
|
||||
<br/>
|
||||
<h1>keyManagement</h1>
|
||||
<a name="node.core.AbstractNode$keyManagement"></a>
|
||||
<a name="node.internal.AbstractNode$keyManagement"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">keyManagement</span><span class="symbol">: </span><a href="../../core.node.subsystems/-e2-e-test-key-management-service/index.html"><span class="identifier">E2ETestKeyManagementService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">log</a><br/>
|
||||
<br/>
|
||||
<h1>log</h1>
|
||||
<a name="node.core.AbstractNode$log"></a>
|
||||
<a name="node.internal.AbstractNode$log"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">log</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">makeIdentityService</a><br/>
|
||||
<br/>
|
||||
<h1>makeIdentityService</h1>
|
||||
<a name="node.core.AbstractNode$makeIdentityService()"></a>
|
||||
<a name="node.internal.AbstractNode$makeIdentityService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeIdentityService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.services/-identity-service/index.html"><span class="identifier">IdentityService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">makeInterestRatesOracleService</a><br/>
|
||||
<br/>
|
||||
<h1>makeInterestRatesOracleService</h1>
|
||||
<a name="node.core.AbstractNode$makeInterestRatesOracleService()"></a>
|
||||
<a name="node.internal.AbstractNode$makeInterestRatesOracleService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeInterestRatesOracleService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">makeMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>makeMessagingService</h1>
|
||||
<a name="node.core.AbstractNode$makeMessagingService()"></a>
|
||||
<a name="node.internal.AbstractNode$makeMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">makeMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.messaging/-messaging-service/index.html"><span class="identifier">MessagingService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">makeNetworkMapService</a><br/>
|
||||
<br/>
|
||||
<h1>makeNetworkMapService</h1>
|
||||
<a name="node.core.AbstractNode$makeNetworkMapService()"></a>
|
||||
<a name="node.internal.AbstractNode$makeNetworkMapService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeNetworkMapService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">makeTimestampingService</a><br/>
|
||||
<br/>
|
||||
<h1>makeTimestampingService</h1>
|
||||
<a name="node.core.AbstractNode$makeTimestampingService()"></a>
|
||||
<a name="node.internal.AbstractNode$makeTimestampingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeTimestampingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">net</a><br/>
|
||||
<br/>
|
||||
<h1>net</h1>
|
||||
<a name="node.core.AbstractNode$net"></a>
|
||||
<a name="node.internal.AbstractNode$net"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">net</span><span class="symbol">: </span><a href="../../core.messaging/-messaging-service/index.html"><span class="identifier">MessagingService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">networkMapSeq</a><br/>
|
||||
<br/>
|
||||
<h1>networkMapSeq</h1>
|
||||
<a name="node.core.AbstractNode$networkMapSeq"></a>
|
||||
<a name="node.internal.AbstractNode$networkMapSeq"></a>
|
||||
<code><span class="keyword">var </span><span class="identifier">networkMapSeq</span><span class="symbol">: </span><span class="identifier">Long</span></code><br/>
|
||||
<p>Sequence number of changes sent to the network map service, when registering/de-registering this node</p>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">networkMapServiceCallTimeout</a><br/>
|
||||
<br/>
|
||||
<h1>networkMapServiceCallTimeout</h1>
|
||||
<a name="node.core.AbstractNode$networkMapServiceCallTimeout"></a>
|
||||
<a name="node.internal.AbstractNode$networkMapServiceCallTimeout"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">networkMapServiceCallTimeout</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Duration.html"><span class="identifier">Duration</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">platformClock</a><br/>
|
||||
<br/>
|
||||
<h1>platformClock</h1>
|
||||
<a name="node.core.AbstractNode$platformClock"></a>
|
||||
<a name="node.internal.AbstractNode$platformClock"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">platformClock</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">serverThread</a><br/>
|
||||
<br/>
|
||||
<h1>serverThread</h1>
|
||||
<a name="node.core.AbstractNode$serverThread"></a>
|
||||
<a name="node.internal.AbstractNode$serverThread"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">serverThread</span><span class="symbol">: </span><a href="../../core.utilities/-affinity-executor/index.html"><span class="identifier">AffinityExecutor</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">servicesThatAcceptUploads</a><br/>
|
||||
<br/>
|
||||
<h1>servicesThatAcceptUploads</h1>
|
||||
<a name="node.core.AbstractNode$servicesThatAcceptUploads"></a>
|
||||
<a name="node.internal.AbstractNode$servicesThatAcceptUploads"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">servicesThatAcceptUploads</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../-accepts-file-upload/index.html"><span class="identifier">AcceptsFileUpload</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">services</a><br/>
|
||||
<br/>
|
||||
<h1>services</h1>
|
||||
<a name="node.core.AbstractNode$services"></a>
|
||||
<a name="node.internal.AbstractNode$services"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">services</span><span class="symbol">: </span><a href="../-service-hub/index.html"><span class="identifier">ServiceHub</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">smm</a><br/>
|
||||
<br/>
|
||||
<h1>smm</h1>
|
||||
<a name="node.core.AbstractNode$smm"></a>
|
||||
<a name="node.internal.AbstractNode$smm"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">smm</span><span class="symbol">: </span><a href="../../core.messaging/-state-machine-manager/index.html"><span class="identifier">StateMachineManager</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">startMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>startMessagingService</h1>
|
||||
<a name="node.core.AbstractNode$startMessagingService()"></a>
|
||||
<a name="node.internal.AbstractNode$startMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">startMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">start</a><br/>
|
||||
<br/>
|
||||
<h1>start</h1>
|
||||
<a name="node.core.AbstractNode$start()"></a>
|
||||
<a name="node.internal.AbstractNode$start()"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">start</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">AbstractNode</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">stop</a><br/>
|
||||
<br/>
|
||||
<h1>stop</h1>
|
||||
<a name="node.core.AbstractNode$stop()"></a>
|
||||
<a name="node.internal.AbstractNode$stop()"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">stop</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">storage</a><br/>
|
||||
<br/>
|
||||
<h1>storage</h1>
|
||||
<a name="node.core.AbstractNode$storage"></a>
|
||||
<a name="node.internal.AbstractNode$storage"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">storage</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">AbstractNode</a> / <a href=".">wallet</a><br/>
|
||||
<br/>
|
||||
<h1>wallet</h1>
|
||||
<a name="node.core.AbstractNode$wallet"></a>
|
||||
<a name="node.internal.AbstractNode$wallet"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">wallet</span><span class="symbol">: </span><a href="../../core.node.subsystems/-wallet-service/index.html"><span class="identifier">WalletService</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">ConfigurationException</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">ConfigurationException</span><span class="symbol">(</span><span class="identifier" id="node.core.ConfigurationException$<init>(kotlin.String)/message">message</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">ConfigurationException</span><span class="symbol">(</span><span class="identifier" id="node.internal.ConfigurationException$<init>(kotlin.String)/message">message</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">ConfigurationException</span><span class="symbol">(</span><span class="identifier" id="node.core.ConfigurationException$<init>(kotlin.String)/message">message</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span></code></td>
|
||||
<code><span class="identifier">ConfigurationException</span><span class="symbol">(</span><span class="identifier" id="node.internal.ConfigurationException$<init>(kotlin.String)/message">message</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">DEFAULT_PORT</a><br/>
|
||||
<br/>
|
||||
<h1>DEFAULT_PORT</h1>
|
||||
<a name="node.core.Node.Companion$DEFAULT_PORT"></a>
|
||||
<a name="node.internal.Node.Companion$DEFAULT_PORT"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">DEFAULT_PORT</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
|
||||
<p>The port that is used by default if none is specified. As you know, 31337 is the most elite number.</p>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">Node</span><span class="symbol">(</span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/p2pAddr">p2pAddr</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/clock">clock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a> <span class="symbol">=</span> Clock.systemUTC()<span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">Node</span><span class="symbol">(</span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/p2pAddr">p2pAddr</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/clock">clock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a> <span class="symbol">=</span> Clock.systemUTC()<span class="symbol">)</span></code><br/>
|
||||
<p>A Node manages a standalone server that takes part in the P2P network. It creates the services found in <a href="../-service-hub/index.html">ServiceHub</a>,
|
||||
loads important data off disk and starts listening for connections.</p>
|
||||
<h3>Parameters</h3>
|
||||
|
@ -40,7 +40,7 @@ but nodes are not required to advertise services they run (hence subset).<br/>
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">Node</span><span class="symbol">(</span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/p2pAddr">p2pAddr</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/clock">clock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a> <span class="symbol">=</span> Clock.systemUTC()<span class="symbol">)</span></code><p>A Node manages a standalone server that takes part in the P2P network. It creates the services found in <a href="../-service-hub/index.html">ServiceHub</a>,
|
||||
<code><span class="identifier">Node</span><span class="symbol">(</span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/p2pAddr">p2pAddr</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/configuration">configuration</span><span class="symbol">:</span> <a href="../-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.Node$<init>(java.nio.file.Path, , node.services.config.NodeConfiguration, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), java.time.Clock)/clock">clock</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Clock.html"><span class="identifier">Clock</span></a> <span class="symbol">=</span> Clock.systemUTC()<span class="symbol">)</span></code><p>A Node manages a standalone server that takes part in the P2P network. It creates the services found in <a href="../-service-hub/index.html">ServiceHub</a>,
|
||||
loads important data off disk and starts listening for connections.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -243,7 +243,7 @@ loads important data off disk and starts listening for connections.</p>
|
||||
<td>
|
||||
<a href="../-abstract-node/construct-storage-service.html">constructStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -255,7 +255,7 @@ loads important data off disk and starts listening for connections.</p>
|
||||
<td>
|
||||
<a href="../-abstract-node/initialise-storage-service.html">initialiseStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
2
docs/build/html/api/core.node/-node/log.html
vendored
2
docs/build/html/api/core.node/-node/log.html
vendored
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">log</a><br/>
|
||||
<br/>
|
||||
<h1>log</h1>
|
||||
<a name="node.core.Node$log"></a>
|
||||
<a name="node.internal.Node$log"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">val </span><span class="identifier">log</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
Overrides <a href="../-abstract-node/log.html">AbstractNode.log</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">makeMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>makeMessagingService</h1>
|
||||
<a name="node.core.Node$makeMessagingService()"></a>
|
||||
<a name="node.internal.Node$makeMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">makeMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core.messaging/-messaging-service/index.html"><span class="identifier">MessagingService</span></a></code><br/>
|
||||
Overrides <a href="../-abstract-node/make-messaging-service.html">AbstractNode.makeMessagingService</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">p2pAddr</a><br/>
|
||||
<br/>
|
||||
<h1>p2pAddr</h1>
|
||||
<a name="node.core.Node$p2pAddr"></a>
|
||||
<a name="node.internal.Node$p2pAddr"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">p2pAddr</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">serverThread</a><br/>
|
||||
<br/>
|
||||
<h1>serverThread</h1>
|
||||
<a name="node.core.Node$serverThread"></a>
|
||||
<a name="node.internal.Node$serverThread"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">val </span><span class="identifier">serverThread</span><span class="symbol">: </span><a href="../../core.utilities/-affinity-executor/-service-affinity-executor/index.html"><span class="identifier">ServiceAffinityExecutor</span></a></code><br/>
|
||||
Overrides <a href="../-abstract-node/server-thread.html">AbstractNode.serverThread</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">startMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>startMessagingService</h1>
|
||||
<a name="node.core.Node$startMessagingService()"></a>
|
||||
<a name="node.internal.Node$startMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">startMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../-abstract-node/start-messaging-service.html">AbstractNode.startMessagingService</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">start</a><br/>
|
||||
<br/>
|
||||
<h1>start</h1>
|
||||
<a name="node.core.Node$start()"></a>
|
||||
<a name="node.internal.Node$start()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">start</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Node</span></a></code><br/>
|
||||
Overrides <a href="../-abstract-node/start.html">AbstractNode.start</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">stop</a><br/>
|
||||
<br/>
|
||||
<h1>stop</h1>
|
||||
<a name="node.core.Node$stop()"></a>
|
||||
<a name="node.internal.Node$stop()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">stop</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../-abstract-node/stop.html">AbstractNode.stop</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.node</a> / <a href="index.html">Node</a> / <a href=".">webServer</a><br/>
|
||||
<br/>
|
||||
<h1>webServer</h1>
|
||||
<a name="node.core.Node$webServer"></a>
|
||||
<a name="node.internal.Node$webServer"></a>
|
||||
<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">webServer</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">IRSSimulation</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">IRSSimulation</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/runAsync">runAsync</span><span class="symbol">:</span> <span class="identifier">Boolean</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/latencyInjector">latencyInjector</span><span class="symbol">:</span> <a href="../-in-memory-messaging-network/-latency-calculator/index.html"><span class="identifier">LatencyCalculator</span></a><span class="symbol">?</span><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">IRSSimulation</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/runAsync">runAsync</span><span class="symbol">:</span> <span class="identifier">Boolean</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/latencyInjector">latencyInjector</span><span class="symbol">:</span> <a href="../-in-memory-messaging-network/-latency-calculator/index.html"><span class="identifier">LatencyCalculator</span></a><span class="symbol">?</span><span class="symbol">)</span></code><br/>
|
||||
<p>A simulation in which banks execute interest rate swaps with each other, including the fixing events.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">IRSSimulation</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/runAsync">runAsync</span><span class="symbol">:</span> <span class="identifier">Boolean</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/latencyInjector">latencyInjector</span><span class="symbol">:</span> <a href="../-in-memory-messaging-network/-latency-calculator/index.html"><span class="identifier">LatencyCalculator</span></a><span class="symbol">?</span><span class="symbol">)</span></code><p>A simulation in which banks execute interest rate swaps with each other, including the fixing events.</p>
|
||||
<code><span class="identifier">IRSSimulation</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/runAsync">runAsync</span><span class="symbol">:</span> <span class="identifier">Boolean</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.IRSSimulation$<init>(kotlin.Boolean, node.services.network.InMemoryMessagingNetwork.LatencyCalculator)/latencyInjector">latencyInjector</span><span class="symbol">:</span> <a href="../-in-memory-messaging-network/-latency-calculator/index.html"><span class="identifier">LatencyCalculator</span></a><span class="symbol">?</span><span class="symbol">)</span></code><p>A simulation in which banks execute interest rate swaps with each other, including the fixing events.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -164,19 +164,19 @@ in the UI somewhere.</p>
|
||||
<td>
|
||||
<a href="../-simulation/link-consensus.html">linkConsensus</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">linkConsensus</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.Simulation$linkConsensus(kotlin.collections.Collection((node.core.testing.Simulation.SimulatedNode)), core.protocols.ProtocolLogic((kotlin.Any)))/nodes">nodes</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../-simulation/-simulated-node/index.html"><span class="identifier">SimulatedNode</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.Simulation$linkConsensus(kotlin.collections.Collection((node.core.testing.Simulation.SimulatedNode)), core.protocols.ProtocolLogic((kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../../core.protocols/-protocol-logic/index.html"><span class="identifier">ProtocolLogic</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">linkConsensus</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.Simulation$linkConsensus(kotlin.collections.Collection((node.internal.testing.Simulation.SimulatedNode)), core.protocols.ProtocolLogic((kotlin.Any)))/nodes">nodes</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../-simulation/-simulated-node/index.html"><span class="identifier">SimulatedNode</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.Simulation$linkConsensus(kotlin.collections.Collection((node.internal.testing.Simulation.SimulatedNode)), core.protocols.ProtocolLogic((kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../../core.protocols/-protocol-logic/index.html"><span class="identifier">ProtocolLogic</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-simulation/link-protocol-progress.html">linkProtocolProgress</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">linkProtocolProgress</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.Simulation$linkProtocolProgress(node.core.testing.Simulation.SimulatedNode, core.protocols.ProtocolLogic((kotlin.Any)))/node">node</span><span class="symbol">:</span> <a href="../-simulation/-simulated-node/index.html"><span class="identifier">SimulatedNode</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.Simulation$linkProtocolProgress(node.core.testing.Simulation.SimulatedNode, core.protocols.ProtocolLogic((kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../../core.protocols/-protocol-logic/index.html"><span class="identifier">ProtocolLogic</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">linkProtocolProgress</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.Simulation$linkProtocolProgress(node.internal.testing.Simulation.SimulatedNode, core.protocols.ProtocolLogic((kotlin.Any)))/node">node</span><span class="symbol">:</span> <a href="../-simulation/-simulated-node/index.html"><span class="identifier">SimulatedNode</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.Simulation$linkProtocolProgress(node.internal.testing.Simulation.SimulatedNode, core.protocols.ProtocolLogic((kotlin.Any)))/protocol">protocol</span><span class="symbol">:</span> <a href="../../core.protocols/-protocol-logic/index.html"><span class="identifier">ProtocolLogic</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-simulation/start-trading-circle.html">startTradingCircle</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">startTradingCircle</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.Simulation$startTradingCircle(kotlin.Function2((kotlin.Int, , (()))))/tradeBetween">tradeBetween</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">Int</span><span class="symbol">,</span> <span class="identifier">Int</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><span class="keyword">out</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc
|
||||
<code><span class="keyword">fun </span><span class="identifier">startTradingCircle</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.Simulation$startTradingCircle(kotlin.Function2((kotlin.Int, , (()))))/tradeBetween">tradeBetween</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">Int</span><span class="symbol">,</span> <span class="identifier">Int</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><span class="keyword">out</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc
|
||||
each time the returned future completes.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">IRSSimulation</a> / <a href=".">iterate</a><br/>
|
||||
<br/>
|
||||
<h1>iterate</h1>
|
||||
<a name="node.core.testing.IRSSimulation$iterate()"></a>
|
||||
<a name="node.internal.testing.IRSSimulation$iterate()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">iterate</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../-simulation/iterate.html">Simulation.iterate</a><br/>
|
||||
<p>Iterates the simulation by one step.</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">IRSSimulation</a> / <a href=".">om</a><br/>
|
||||
<br/>
|
||||
<h1>om</h1>
|
||||
<a name="node.core.testing.IRSSimulation$om"></a>
|
||||
<a name="node.internal.testing.IRSSimulation$om"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">om</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">IRSSimulation</a> / <a href=".">start</a><br/>
|
||||
<br/>
|
||||
<h1>start</h1>
|
||||
<a name="node.core.testing.IRSSimulation$start()"></a>
|
||||
<a name="node.internal.testing.IRSSimulation$start()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">start</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../-simulation/start.html">Simulation.start</a><br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">DefaultFactory</a> / <a href=".">create</a><br/>
|
||||
<br/>
|
||||
<h1>create</h1>
|
||||
<a name="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
Overrides <a href="../-factory/create.html">Factory.create</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<td>
|
||||
<a href="create.html">create</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.DefaultFactory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">Factory</a> / <a href=".">create</a><br/>
|
||||
<br/>
|
||||
<h1>create</h1>
|
||||
<a name="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td>
|
||||
<a href="create.html">create</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/network">network</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.Factory$create(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">MockNetwork</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$<init>(kotlin.Boolean, node.core.testing.MockNetwork.Factory)/threadPerNode">threadPerNode</span><span class="symbol">:</span> <span class="identifier">Boolean</span> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$<init>(kotlin.Boolean, node.core.testing.MockNetwork.Factory)/defaultFactory">defaultFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> MockNetwork.DefaultFactory<span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">MockNetwork</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$<init>(kotlin.Boolean, node.internal.testing.MockNetwork.Factory)/threadPerNode">threadPerNode</span><span class="symbol">:</span> <span class="identifier">Boolean</span> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$<init>(kotlin.Boolean, node.internal.testing.MockNetwork.Factory)/defaultFactory">defaultFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> MockNetwork.DefaultFactory<span class="symbol">)</span></code><br/>
|
||||
<p>A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing.
|
||||
Components that do IO are either swapped out for mocks, or pointed to a <a href="#">Jimfs</a> in memory filesystem.</p>
|
||||
<p>Mock network nodes require manual pumping by default: they will not run asynchronous. This means that
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">MockNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/mockNet">mockNet</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">MockNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/mockNet">mockNet</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">findMyLocation</a><br/>
|
||||
<br/>
|
||||
<h1>findMyLocation</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$findMyLocation()"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$findMyLocation()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">findMyLocation</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.node/-physical-location/index.html"><span class="identifier">PhysicalLocation</span></a><span class="symbol">?</span></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/find-my-location.html">AbstractNode.findMyLocation</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">id</a><br/>
|
||||
<br/>
|
||||
<h1>id</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$id"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$id"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">MockNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/mockNet">mockNet</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.core.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span></code></td>
|
||||
<code><span class="identifier">MockNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/config">config</span><span class="symbol">:</span> <a href="../../../core.node/-node-configuration/index.html"><span class="identifier">NodeConfiguration</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/mockNet">mockNet</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">MockNetwork</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/networkMapAddr">networkMapAddr</span><span class="symbol">:</span> <a href="../../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/advertisedServices">advertisedServices</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="../../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork.MockNode$<init>(java.nio.file.Path, node.services.config.NodeConfiguration, node.internal.testing.MockNetwork, core.node.NodeInfo, kotlin.collections.Set((core.node.services.ServiceType)), kotlin.Int)/id">id</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -230,13 +230,13 @@
|
||||
<td>
|
||||
<a href="../../../core.node/-abstract-node/construct-storage-service.html">constructStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.core.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">constructStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/attachments">attachments</span><span class="symbol">:</span> <a href="../../../core.node.services/-node-attachment-service/index.html"><span class="identifier">NodeAttachmentService</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/checkpointStorage">checkpointStorage</span><span class="symbol">:</span> <a href="../../../core.node.storage/-checkpoint-storage/index.html"><span class="identifier">CheckpointStorage</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/keypair">keypair</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/KeyPair.html"><span class="identifier">KeyPair</span></a><span class="symbol">, </span><span class="identifier" id="node.internal.AbstractNode$constructStorageService(node.services.persistence.NodeAttachmentService, node.services.api.CheckpointStorage, java.security.KeyPair, core.crypto.Party)/identity">identity</span><span class="symbol">:</span> <a href="../../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.node.subsystems/-storage-service-impl/index.html"><span class="identifier">StorageServiceImpl</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../../core.node/-abstract-node/initialise-storage-service.html">initialiseStorageService</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.core.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">initialiseStorageService</span><span class="symbol">(</span><span class="identifier" id="node.internal.AbstractNode$initialiseStorageService(java.nio.file.Path)/dir">dir</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html"><span class="identifier">Path</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.node.subsystems/-storage-service/index.html"><span class="identifier">StorageService</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">log</a><br/>
|
||||
<br/>
|
||||
<h1>log</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$log"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$log"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">log</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/log.html">AbstractNode.log</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">makeIdentityService</a><br/>
|
||||
<br/>
|
||||
<h1>makeIdentityService</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$makeIdentityService()"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$makeIdentityService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeIdentityService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../-mock-identity-service/index.html"><span class="identifier">MockIdentityService</span></a></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/make-identity-service.html">AbstractNode.makeIdentityService</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">makeMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>makeMessagingService</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$makeMessagingService()"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$makeMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">makeMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../../core.messaging/-messaging-service/index.html"><span class="identifier">MessagingService</span></a></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/make-messaging-service.html">AbstractNode.makeMessagingService</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">mockNet</a><br/>
|
||||
<br/>
|
||||
<h1>mockNet</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$mockNet"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$mockNet"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">mockNet</span><span class="symbol">: </span><a href="../index.html"><span class="identifier">MockNetwork</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">place</a><br/>
|
||||
<br/>
|
||||
<h1>place</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$place"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$place"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">place</span><span class="symbol">: </span><a href="../../../core.node/-physical-location/index.html"><span class="identifier">PhysicalLocation</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">serverThread</a><br/>
|
||||
<br/>
|
||||
<h1>serverThread</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$serverThread"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$serverThread"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">serverThread</span><span class="symbol">: </span><a href="../../../core.utilities/-affinity-executor/index.html"><span class="identifier">AffinityExecutor</span></a></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/server-thread.html">AbstractNode.serverThread</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">startMessagingService</a><br/>
|
||||
<br/>
|
||||
<h1>startMessagingService</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$startMessagingService()"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$startMessagingService()"></a>
|
||||
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">startMessagingService</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/start-messaging-service.html">AbstractNode.startMessagingService</a><br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">MockNetwork</a> / <a href="index.html">MockNode</a> / <a href=".">start</a><br/>
|
||||
<br/>
|
||||
<h1>start</h1>
|
||||
<a name="node.core.testing.MockNetwork.MockNode$start()"></a>
|
||||
<a name="node.internal.testing.MockNetwork.MockNode$start()"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">start</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
Overrides <a href="../../../core.node/-abstract-node/start.html">AbstractNode.start</a><br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">addressToNode</a><br/>
|
||||
<br/>
|
||||
<h1>addressToNode</h1>
|
||||
<a name="node.core.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">addressToNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)/address">address</span><span class="symbol">:</span> <a href="../../core.messaging/-single-message-recipient.html"><span class="identifier">SingleMessageRecipient</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">addressToNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)/address">address</span><span class="symbol">:</span> <a href="../../core.messaging/-single-message-recipient.html"><span class="identifier">SingleMessageRecipient</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">createNode</a><br/>
|
||||
<br/>
|
||||
<h1>createNode</h1>
|
||||
<a name="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/forcedID">forcedID</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/advertisedServices">advertisedServices</span><span class="symbol">:</span> <a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/forcedID">forcedID</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/advertisedServices">advertisedServices</span><span class="symbol">:</span> <a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><br/>
|
||||
<p>Returns a started node, optionally created by the passed factory method</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">createTwoNodes</a><br/>
|
||||
<br/>
|
||||
<h1>createTwoNodes</h1>
|
||||
<a name="node.core.testing.MockNetwork$createTwoNodes(node.core.testing.MockNetwork.Factory)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createTwoNodes</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$createTwoNodes(node.core.testing.MockNetwork.Factory)/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">,</span> <a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork$createTwoNodes(node.internal.testing.MockNetwork.Factory)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createTwoNodes</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$createTwoNodes(node.internal.testing.MockNetwork.Factory)/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">,</span> <a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">></span></code><br/>
|
||||
<p>Sets up a two node network, in which the first node runs network map and timestamping services and the other
|
||||
doesnt.</p>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">filesystem</a><br/>
|
||||
<br/>
|
||||
<h1>filesystem</h1>
|
||||
<a name="node.core.testing.MockNetwork$filesystem"></a>
|
||||
<a name="node.internal.testing.MockNetwork$filesystem"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">filesystem</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">identities</a><br/>
|
||||
<br/>
|
||||
<h1>identities</h1>
|
||||
<a name="node.core.testing.MockNetwork$identities"></a>
|
||||
<a name="node.internal.testing.MockNetwork$identities"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">identities</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html"><span class="identifier">ArrayList</span></a><span class="symbol"><</span><a href="../../core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -48,7 +48,7 @@ method.</p>
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">MockNetwork</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$<init>(kotlin.Boolean, node.core.testing.MockNetwork.Factory)/threadPerNode">threadPerNode</span><span class="symbol">:</span> <span class="identifier">Boolean</span> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$<init>(kotlin.Boolean, node.core.testing.MockNetwork.Factory)/defaultFactory">defaultFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> MockNetwork.DefaultFactory<span class="symbol">)</span></code><p>A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing.
|
||||
<code><span class="identifier">MockNetwork</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$<init>(kotlin.Boolean, node.internal.testing.MockNetwork.Factory)/threadPerNode">threadPerNode</span><span class="symbol">:</span> <span class="identifier">Boolean</span> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$<init>(kotlin.Boolean, node.internal.testing.MockNetwork.Factory)/defaultFactory">defaultFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> MockNetwork.DefaultFactory<span class="symbol">)</span></code><p>A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing.
|
||||
Components that do IO are either swapped out for mocks, or pointed to a <a href="#">Jimfs</a> in memory filesystem.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -91,20 +91,20 @@ Components that do IO are either swapped out for mocks, or pointed to a <a href=
|
||||
<td>
|
||||
<a href="address-to-node.html">addressToNode</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">addressToNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)/address">address</span><span class="symbol">:</span> <a href="../../core.messaging/-single-message-recipient.html"><span class="identifier">SingleMessageRecipient</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">addressToNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$addressToNode(core.messaging.SingleMessageRecipient)/address">address</span><span class="symbol">:</span> <a href="../../core.messaging/-single-message-recipient.html"><span class="identifier">SingleMessageRecipient</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="create-node.html">createNode</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createNode</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/forcedID">forcedID</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">, </span><span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="node.core.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.core.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/advertisedServices">advertisedServices</span><span class="symbol">:</span> <a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><p>Returns a started node, optionally created by the passed factory method</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createNode</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/networkMapAddress">networkMapAddress</span><span class="symbol">:</span> <a href="../../core.node/-node-info/index.html"><span class="identifier">NodeInfo</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/forcedID">forcedID</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">, </span><span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="node.internal.testing.MockNetwork$createNode(core.node.NodeInfo, kotlin.Int, node.internal.testing.MockNetwork.Factory, kotlin.Array((core.node.services.ServiceType)))/advertisedServices">advertisedServices</span><span class="symbol">:</span> <a href="../../core.node.services/-service-type/index.html"><span class="identifier">ServiceType</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a></code><p>Returns a started node, optionally created by the passed factory method</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="create-two-nodes.html">createTwoNodes</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createTwoNodes</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$createTwoNodes(node.core.testing.MockNetwork.Factory)/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">,</span> <a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">></span></code><p>Sets up a two node network, in which the first node runs network map and timestamping services and the other
|
||||
<code><span class="keyword">fun </span><span class="identifier">createTwoNodes</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$createTwoNodes(node.internal.testing.MockNetwork.Factory)/nodeFactory">nodeFactory</span><span class="symbol">:</span> <a href="-factory/index.html"><span class="identifier">Factory</span></a> <span class="symbol">=</span> defaultFactory<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">,</span> <a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">></span></code><p>Sets up a two node network, in which the first node runs network map and timestamping services and the other
|
||||
doesnt.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -112,8 +112,8 @@ doesnt.</p>
|
||||
<td>
|
||||
<a href="run-network.html">runNetwork</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">runNetwork</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Asks every node in order to process any queued up inbound messages. This may in turn result in nodes
|
||||
sending more messages to each other, thus, a typical usage is to call runNetwork with the <a href="run-network.html#node.core.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">runNetwork</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Asks every node in order to process any queued up inbound messages. This may in turn result in nodes
|
||||
sending more messages to each other, thus, a typical usage is to call runNetwork with the <a href="run-network.html#node.internal.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</a>
|
||||
parameter set to -1 (the default) which simply runs as many rounds as necessary to result in network
|
||||
stability (no nodes sent any messages in the last round).</p>
|
||||
</td>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">messagingNetwork</a><br/>
|
||||
<br/>
|
||||
<h1>messagingNetwork</h1>
|
||||
<a name="node.core.testing.MockNetwork$messagingNetwork"></a>
|
||||
<a name="node.internal.testing.MockNetwork$messagingNetwork"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">messagingNetwork</span><span class="symbol">: </span><a href="../-in-memory-messaging-network/index.html"><span class="identifier">InMemoryMessagingNetwork</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">nodes</a><br/>
|
||||
<br/>
|
||||
<h1>nodes</h1>
|
||||
<a name="node.core.testing.MockNetwork$nodes"></a>
|
||||
<a name="node.internal.testing.MockNetwork$nodes"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">nodes</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="-mock-node/index.html"><span class="identifier">MockNode</span></a><span class="symbol">></span></code><br/>
|
||||
<p>A read only view of the current set of executing nodes.</p>
|
||||
<br/>
|
||||
|
@ -7,10 +7,10 @@
|
||||
<a href="../index.html">core.testing</a> / <a href="index.html">MockNetwork</a> / <a href=".">runNetwork</a><br/>
|
||||
<br/>
|
||||
<h1>runNetwork</h1>
|
||||
<a name="node.core.testing.MockNetwork$runNetwork(kotlin.Int)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">runNetwork</span><span class="symbol">(</span><span class="identifier" id="node.core.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<a name="node.internal.testing.MockNetwork$runNetwork(kotlin.Int)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">runNetwork</span><span class="symbol">(</span><span class="identifier" id="node.internal.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> -1<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<p>Asks every node in order to process any queued up inbound messages. This may in turn result in nodes
|
||||
sending more messages to each other, thus, a typical usage is to call runNetwork with the <a href="run-network.html#node.core.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</a>
|
||||
sending more messages to each other, thus, a typical usage is to call runNetwork with the <a href="run-network.html#node.internal.testing.MockNetwork$runNetwork(kotlin.Int)/rounds">rounds</a>
|
||||
parameter set to -1 (the default) which simply runs as many rounds as necessary to result in network
|
||||
stability (no nodes sent any messages in the last round).</p>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">Simulation</a> / <a href="index.html">BankFactory</a> / <a href=".">counter</a><br/>
|
||||
<br/>
|
||||
<h1>counter</h1>
|
||||
<a name="node.core.testing.Simulation.BankFactory$counter"></a>
|
||||
<a name="node.internal.testing.Simulation.BankFactory$counter"></a>
|
||||
<code><span class="keyword">var </span><span class="identifier">counter</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">core.testing</a> / <a href="../index.html">Simulation</a> / <a href="index.html">BankFactory</a> / <a href=".">createAll</a><br/>
|
||||
<br/>
|
||||
<h1>createAll</h1>
|
||||
<a name="node.core.testing.Simulation.BankFactory$createAll()"></a>
|
||||
<a name="node.internal.testing.Simulation.BankFactory$createAll()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">createAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../-simulated-node/index.html"><span class="identifier">SimulatedNode</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user