NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Netclient
/
xyz.noisif.nsl.netclient.websocket.group.codec
/
WsSessionCodec
Ws
Session
Codec
interface
WsSessionCodec
:
UnifiedMessageCodec
Inheritors
WsTypedMessageSessionCodec
WsEnvelopeSessionCodec
Members
Functions
get
Base
Format
Link copied to clipboard
abstract
fun
getBaseFormat
(
)
:
SerializerFormat
get
Codec
Data
Type
Link copied to clipboard
abstract
fun
getCodecDataType
(
)
:
DataType
get
Current
Mode
Link copied to clipboard
abstract
fun
getCurrentMode
(
)
:
WsSessionCodecMode
get
Format
Link copied to clipboard
open
fun
getFormat
(
)
:
SerializerFormat
parse
Link copied to clipboard
open
fun
<
T
>
parse
(
payload
:
Array
<
Byte
>
,
type
:
Class
<
T
>
)
:
T
open
fun
<
T
>
parse
(
payload
:
String
,
type
:
Class
<
T
>
)
:
T
send
Object
Link copied to clipboard
open
fun
sendObject
(
payload
:
Any
,
visitor
:
EncodedPayloadVisitor
)
serialize
And
Accept
Envelope
Link copied to clipboard
open
fun
serializeAndAcceptEnvelope
(
opCode
:
OpCode
,
data
:
Any
,
visitor
:
EncodedPayloadVisitor
)
throw
Not
Supported
Link copied to clipboard
open
fun
throwNotSupported
(
)
:
MessageSerializerException
unwrap
Link copied to clipboard
open
fun
unwrap
(
payload
:
Array
<
Byte
>
,
typeResolver
:
(
Integer
)
->
Class
<
out
Any
>
)
:
MessageEnvelope
<
out
Any
>
open
fun
unwrap
(
payload
:
String
,
typeResolver
:
(
Integer
)
->
Class
<
out
Any
>
)
:
MessageEnvelope
<
out
Any
>