kcoap
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kcoap
kcoap-testkit
/
dev.kcoap.testkit
/
InMemoryDatagram
In
Memory
Datagram
class
InMemoryDatagram
(
val
from
:
Endpoint.Udp
,
val
to
:
Endpoint
,
val
bytes
:
ByteArray
)
(
source
)
A datagram on its way through an
InMemoryNetwork
.
bytes
is the sender's copy; do not modify it.
Members
Constructors
In
Memory
Datagram
Link copied to clipboard
constructor
(
from
:
Endpoint.Udp
,
to
:
Endpoint
,
bytes
:
ByteArray
)
Properties
bytes
Link copied to clipboard
val
bytes
:
ByteArray
from
Link copied to clipboard
val
from
:
Endpoint.Udp
to
Link copied to clipboard
val
to
:
Endpoint
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String