class MockNode : AbstractNode| <init> |
MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int, keyPair: KeyPair?) |
| id |
val id: Int |
| keyPair |
val keyPair: KeyPair? |
| log |
open val log: <ERROR CLASS> |
| mockNet |
val mockNet: MockNetwork |
| place |
val place: PhysicalLocation |
| serverThread |
open val serverThread: AffinityExecutor |
| _servicesThatAcceptUploads |
val _servicesThatAcceptUploads: ArrayList<AcceptsFileUpload> |
| advertisedServices |
val advertisedServices: Set<ServiceType> |
| api |
lateinit var api: APIServer |
| checkpointStorage |
lateinit var checkpointStorage: CheckpointStorage |
| configuration |
val configuration: NodeConfiguration |
| dir |
val dir: Path |
| identity |
lateinit var identity: IdentityService |
| inNodeNetworkMapService |
var inNodeNetworkMapService: NetworkMapService? |
| inNodeNotaryService |
var inNodeNotaryService: NotaryService? |
| info |
val info: NodeInfo |
| interestRatesService |
lateinit var interestRatesService: Service |
| keyManagement |
lateinit var keyManagement: E2ETestKeyManagementService |
| net |
lateinit var net: MessagingService |
| networkMapRegistrationFuture |
var networkMapRegistrationFuture: <ERROR CLASS><Unit>?Completes once the node has successfully registered with the network map service. Null until start returns. |
| networkMapSeq |
var networkMapSeq: LongSequence number of changes sent to the network map service, when registering/de-registering this node |
| networkMapService |
val networkMapService: NodeInfo? |
| platformClock |
val platformClock: Clock |
| services |
val services: ServiceHubInternal |
| servicesThatAcceptUploads |
val servicesThatAcceptUploads: List<AcceptsFileUpload> |
| smm |
lateinit var smm: StateMachineManager |
| started |
var started: BooleanSet to true once start has been successfully called. |
| storage |
lateinit var storage: StorageService |
| wallet |
lateinit var wallet: WalletService |
| findMyLocation |
open fun findMyLocation(): PhysicalLocation? |
| generateKeyPair |
open fun generateKeyPair(): KeyPair? |
| makeIdentityService |
open fun makeIdentityService(): MockIdentityService |
| makeMessagingService |
open fun makeMessagingService(): MessagingService |
| noNetworkMapConfigured |
open fun noNetworkMapConfigured(): <ERROR CLASS>This is overriden by the mock node implementation to enable operation without any network map service |
| start |
open fun start(): MockNode |
| startMessagingService |
open fun startMessagingService(): Unit |
| constructStorageService |
open fun constructStorageService(attachments: NodeAttachmentService, keypair: KeyPair, identity: Party): StorageServiceImpl |
| initialiseStorageService |
open fun initialiseStorageService(dir: Path): <ERROR CLASS><StorageService, CheckpointStorage> |
| makeAttachmentStorage |
fun makeAttachmentStorage(dir: Path): NodeAttachmentService |
| makeInterestRatesOracleService |
open fun makeInterestRatesOracleService(): Unit |
| makeNetworkMapService |
open fun makeNetworkMapService(): Unit |
| makeNotaryService |
open fun makeNotaryService(): Unit |
| stop |
open fun stop(): Unit |
| SimulatedNode |
open class SimulatedNode : MockNode |