Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
ProtobufComponent
Class ProtobufComponent
Hierarchy
ProtobufComponent
Implements
IComponent
Index
Constructors
constructor
Properties
app
client
Protos
client
Protos
Path
name
protobuf
server
Protos
server
Protos
Path
version
watchers
Methods
decode
encode
encode2
Bytes
get
Protos
get
Version
on
Update
set
Protos
stop
Constructors
constructor
new
Protobuf
Component
(
app
:
Application
, opts
?:
ProtobufComponentOptions
)
:
ProtobufComponent
Parameters
app:
Application
Optional
opts:
ProtobufComponentOptions
Returns
ProtobufComponent
Properties
app
app
:
Application
client
Protos
client
Protos
:
object
Type declaration
[
key:
string
]:
any
client
Protos
Path
client
Protos
Path
:
string
name
name
:
string
= "__protobuf__"
protobuf
protobuf
:
Protobuf
server
Protos
server
Protos
:
object
Type declaration
[
key:
string
]:
any
server
Protos
Path
server
Protos
Path
:
string
version
version
:
string
= ""
watchers
watchers
:
object
Type declaration
[
key:
string
]:
FSWatcher
Methods
decode
decode
(
key
:
string
, msg
:
any
)
:
object
Parameters
key:
string
msg:
any
Returns
object
[
key:
string
]:
any
encode
encode
(
key
:
string
, msg
:
any
)
:
Buffer
Parameters
key:
string
msg:
any
Returns
Buffer
encode2
Bytes
encode2
Bytes
(
key
:
string
, msg
:
any
)
:
Uint8Array
Parameters
key:
string
msg:
any
Returns
Uint8Array
get
Protos
get
Protos
(
)
:
object
Returns
object
client
:
object
[
key:
string
]:
any
server
:
object
[
key:
string
]:
any
version
:
string
get
Version
get
Version
(
)
:
string
Returns
string
on
Update
on
Update
(
type
:
string
, path
:
string
, event
:
string
)
:
void
Parameters
type:
string
path:
string
event:
string
Returns
void
set
Protos
set
Protos
(
type
:
string
, path
:
string
)
:
void
Parameters
type:
string
path:
string
Returns
void
stop
stop
(
force
:
boolean
, cb
:
function
)
:
void
Parameters
force:
boolean
cb:
function
(
)
:
void
Returns
void
Returns
void
Globals
Protobuf
Component
constructor
app
client
Protos
client
Protos
Path
name
protobuf
server
Protos
server
Protos
Path
version
watchers
decode
encode
encode2
Bytes
get
Protos
get
Version
on
Update
set
Protos
stop