Datagrams
class Datagrams(val network: InMemoryNetwork, maxDatagramSize: Int = InMemoryNetwork.DEFAULT_MAX_DATAGRAM_SIZE, identity: PeerIdentity = PeerIdentity.None) : InMemoryLink(source)
Datagrams on network, through InMemorySessions on both sides, so that cut has sessions to end: the endpoints see each other as Endpoint.Secure peers whose DTLS layer authenticated identity, by default nobody, and messages go in datagrams of at most maxDatagramSize bytes.
Constructors
Link copied to clipboard
constructor(network: InMemoryNetwork, maxDatagramSize: Int = InMemoryNetwork.DEFAULT_MAX_DATAGRAM_SIZE, identity: PeerIdentity = PeerIdentity.None)