interface WireConnectionRepository
(source)
A repository managing wire connections.
add |
Adds a new wire connection to the repository. abstract fun add(wireConnection: WireConnection!): Unit |
asIterable |
Provides a view of the wire connections as an iterable. There is no guarantee of sorting wire connections. abstract fun asIterable(): MutableIterable<WireConnection!>!
Provides a subset of wire connections with a particular capabilities. abstract fun asIterable(identifier: SubProtocolIdentifier!): MutableIterable<WireConnection!>! |
close |
Closes the repository. After it has been closed, the repository should no longer be able to add or retrieve connections. abstract fun close(): Unit |
get |
Gets a wire connection by its identifier, as provided by abstract fun get(id: String!): WireConnection! |
MemoryWireConnectionsRepository |
In-memory implementation of the wire connections repository. open class MemoryWireConnectionsRepository : WireConnectionRepository |