NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Net
/
xyz.noisif.nsl.net.envelope
/
EnvelopeSession
Envelope
Session
interface
EnvelopeSession
:
NetworkSession
Inheritors
GenericWsSessionAdapter
Members
Functions
close
Link copied to clipboard
abstract
fun
close
(
closeCode
:
CloseCode
)
get
Principal
Id
Link copied to clipboard
abstract
fun
getPrincipalId
(
)
:
String
get
Session
Id
Link copied to clipboard
abstract
fun
getSessionId
(
)
:
String
is
Closed
Link copied to clipboard
abstract
fun
isClosed
(
)
:
Boolean
send
Envelope
Link copied to clipboard
open
fun
sendEnvelope
(
opCode
:
OpCode
)
abstract
fun
sendEnvelope
(
opCode
:
OpCode
,
data
:
Any
)
unwrap
Link copied to clipboard
abstract
fun
unwrap
(
payload
:
Array
<
Byte
>
,
typeResolver
:
(
Integer
)
->
Class
<
out
Any
>
)
:
MessageEnvelope
<
out
Any
>
abstract
fun
unwrap
(
payload
:
String
,
typeResolver
:
(
Integer
)
->
Class
<
out
Any
>
)
:
MessageEnvelope
<
out
Any
>