usagi
0.0.4-SNAPSHOT
common
usagi
/
dimensional.usagi.connection.frame
Package-level
declarations
Types
Types
Frame
Link copied to clipboard
data
class
Frame
(
val
header
:
FrameHeader
,
payload
:
ByteArray
?
=
null
)
Frame
Header
Link copied to clipboard
data
class
FrameHeader
(
val
type
:
FrameType
,
val
channel
:
Int
,
val
size
:
Int
=
0
)
Frame
Too
Large
Exception
Link copied to clipboard
class
FrameTooLargeException
(
val
frame
:
Frame
,
val
maxSize
:
Int
)
:
Exception
Frame
Type
Link copied to clipboard
sealed
class
FrameType
must be in this order, see
id