toggle menu
koap-core
common
switch theme
search in API
koap-core
/
com.juul.koap
/
Message
/
Tcp
Tcp
data
class
Tcp
(
val
code
:
Message.Code
,
val
token
:
Long
,
val
options
:
List
<
Message.Option
>
,
val
payload
:
ByteArray
)
:
Message
Members
Members & Extensions
Constructors
Tcp
Link copied to clipboard
constructor
(
code
:
Message.Code
,
token
:
Long
,
options
:
List
<
Message.Option
>
,
payload
:
ByteArray
)
Properties
code
Link copied to clipboard
open
override
val
code
:
Message.Code
options
Link copied to clipboard
open
override
val
options
:
List
<
Message.Option
>
payload
Link copied to clipboard
open
override
val
payload
:
ByteArray
token
Link copied to clipboard
open
override
val
token
:
Long
Per RFC 7252 2.2. Request/Response Model:
Functions
encode
Link copied to clipboard
fun
Message
.
encode
(
)
:
ByteArray
Encodes
Message
receiver as a
ByteArray
.
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String