Connections
class Connections(val connections: InMemoryConnections, val scheme: CoapScheme = CoapScheme.COAP_TCP, val port: Int = DEFAULT_PORT, clientIdentity: PeerIdentity = PeerIdentity.None) : InMemoryLink(source)
Connections of scheme on connections to a listener at 127.0.0.1:port, whose TLS stand-in reports clientIdentity for every client (see InMemoryConnections.listen).
Constructors
Link copied to clipboard
constructor(connections: InMemoryConnections, scheme: CoapScheme = CoapScheme.COAP_TCP, port: Int = DEFAULT_PORT, clientIdentity: PeerIdentity = PeerIdentity.None)
Functions
Link copied to clipboard
Attaches a client side; as often as the test needs clients.
Link copied to clipboard
Listens at port for scheme, with clientIdentity.
Link copied to clipboard
Listens at port.