corda / net.corda.node.internal / AbstractNode / <init>

# <init>

`AbstractNode(configuration: NodeConfiguration, advertisedServices: Set<ServiceInfo>, platformClock: Clock, busyNodeLatch: ReusableLatch = ReusableLatch())`

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.

Marked as SingletonSerializeAsToken to prevent the invisible reference to AbstractNode in the ServiceHub accidentally sweeping up the Node into the Kryo checkpoint serialization via any flows holding a reference to ServiceHub.