Search
Preparing search index...
The search index is not available
@mobsya/thymio-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"thymio_generated"
mobsya
fb
ConnectionHandshake
Class ConnectionHandshake
Hierarchy
ConnectionHandshake
Index
Properties
bb
bb_
pos
Methods
__init
localhost
Peer
max
Message
Size
min
Protocol
Version
mutate_
localhost
Peer
mutate_
max
Message
Size
mutate_
min
Protocol
Version
mutate_
protocol
Version
protocol
Version
token
token
Array
token
Length
add
Localhost
Peer
add
Max
Message
Size
add
Min
Protocol
Version
add
Protocol
Version
add
Token
create
Token
Vector
end
Connection
Handshake
get
Root
AsConnection
Handshake
start
Connection
Handshake
start
Token
Vector
Properties
bb
bb
:
ByteBuffer
|
null
= null
bb_
pos
bb_
pos
:
number
= 0
Methods
__init
__init
(
i
:
number
, bb
:
ByteBuffer
)
:
ConnectionHandshake
Parameters
i:
number
bb:
ByteBuffer
Returns
ConnectionHandshake
ConnectionHandshake
localhost
Peer
localhost
Peer
(
)
:
boolean
Returns
boolean
boolean
max
Message
Size
max
Message
Size
(
)
:
number
Returns
number
number
min
Protocol
Version
min
Protocol
Version
(
)
:
number
Returns
number
number
mutate_
localhost
Peer
mutate_
localhost
Peer
(
value
:
boolean
)
:
boolean
Parameters
value:
boolean
Returns
boolean
boolean
mutate_
max
Message
Size
mutate_
max
Message
Size
(
value
:
number
)
:
boolean
Parameters
value:
number
Returns
boolean
boolean
mutate_
min
Protocol
Version
mutate_
min
Protocol
Version
(
value
:
number
)
:
boolean
Parameters
value:
number
Returns
boolean
boolean
mutate_
protocol
Version
mutate_
protocol
Version
(
value
:
number
)
:
boolean
Parameters
value:
number
Returns
boolean
boolean
protocol
Version
protocol
Version
(
)
:
number
Returns
number
number
token
token
(
index
:
number
)
:
number
|
null
Parameters
index:
number
Returns
number
|
null
number
token
Array
token
Array
(
)
:
Uint8Array
|
null
Returns
Uint8Array
|
null
Uint8Array
token
Length
token
Length
(
)
:
number
Returns
number
number
Static
add
Localhost
Peer
add
Localhost
Peer
(
builder
:
Builder
, localhostPeer
:
boolean
)
:
void
Parameters
builder:
Builder
localhostPeer:
boolean
Returns
void
Static
add
Max
Message
Size
add
Max
Message
Size
(
builder
:
Builder
, maxMessageSize
:
number
)
:
void
Parameters
builder:
Builder
maxMessageSize:
number
Returns
void
Static
add
Min
Protocol
Version
add
Min
Protocol
Version
(
builder
:
Builder
, minProtocolVersion
:
number
)
:
void
Parameters
builder:
Builder
minProtocolVersion:
number
Returns
void
Static
add
Protocol
Version
add
Protocol
Version
(
builder
:
Builder
, protocolVersion
:
number
)
:
void
Parameters
builder:
Builder
protocolVersion:
number
Returns
void
Static
add
Token
add
Token
(
builder
:
Builder
, tokenOffset
:
flatbuffers.Offset
)
:
void
Parameters
builder:
Builder
tokenOffset:
flatbuffers.Offset
Returns
void
Static
create
Token
Vector
create
Token
Vector
(
builder
:
Builder
, data
:
number
[]
|
Uint8Array
)
:
flatbuffers.Offset
Parameters
builder:
Builder
data:
number
[]
|
Uint8Array
Returns
flatbuffers.Offset
flatbuffers.Offset
Static
end
Connection
Handshake
end
Connection
Handshake
(
builder
:
Builder
)
:
flatbuffers.Offset
Parameters
builder:
Builder
Returns
flatbuffers.Offset
flatbuffers.Offset
Static
get
Root
AsConnection
Handshake
get
Root
AsConnection
Handshake
(
bb
:
ByteBuffer
, obj
?:
ConnectionHandshake
)
:
ConnectionHandshake
Parameters
bb:
ByteBuffer
Optional
obj:
ConnectionHandshake
Returns
ConnectionHandshake
ConnectionHandshake
Static
start
Connection
Handshake
start
Connection
Handshake
(
builder
:
Builder
)
:
void
Parameters
builder:
Builder
Returns
void
Static
start
Token
Vector
start
Token
Vector
(
builder
:
Builder
, numElems
:
number
)
:
void
Parameters
builder:
Builder
numElems:
number
Returns
void
Globals
Connection
Handshake
bb
bb_
pos
__init
localhost
Peer
max
Message
Size
min
Protocol
Version
mutate_
localhost
Peer
mutate_
max
Message
Size
mutate_
min
Protocol
Version
mutate_
protocol
Version
protocol
Version
token
token
Array
token
Length
add
Localhost
Peer
add
Max
Message
Size
add
Min
Protocol
Version
add
Protocol
Version
add
Token
create
Token
Vector
end
Connection
Handshake
get
Root
AsConnection
Handshake
start
Connection
Handshake
start
Token
Vector
Generated using
TypeDoc