Search
Preparing search index...
The search index is not available
canarium
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
AvsMultiplexer
Class AvsMultiplexer
Multiplexer for Avalon-ST byte stream
Hierarchy
EventEmitter
AvsMultiplexer
Index
Constructors
constructor
Properties
default
Max
Listeners
Methods
add
Listener
create
Stream
emit
event
Names
get
Max
Listeners
listener
Count
listeners
on
once
prepend
Listener
prepend
Once
Listener
remove
All
Listeners
remove
Listener
set
Max
Listeners
write
listener
Count
Constructors
constructor
new
Avs
Multiplexer
(
_sink
:
Writable
, options
:
MultiplexerOptions
)
:
AvsMultiplexer
Parameters
_sink:
Writable
options:
MultiplexerOptions
Returns
AvsMultiplexer
Properties
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
create
Stream
create
Stream
(
channel
:
number
, packetized
:
boolean
)
:
AvsWritableStream
Parameters
channel:
number
packetized:
boolean
Returns
AvsWritableStream
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
(
string
|
symbol
)
[]
Returns
(
string
|
symbol
)
[]
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
on
on
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
:
this
Parameters
event:
string
|
symbol
listener:
Function
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
write
write
(
channel
:
number
, packetized
:
boolean
, chunk
:
Buffer
|
string
, encoding
:
string
, callback
:
function
)
:
void
Parameters
channel:
number
packetized:
boolean
chunk:
Buffer
|
string
encoding:
string
callback:
function
(
err
:
Error
)
:
void
Parameters
err:
Error
Returns
void
Returns
void
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
|
symbol
)
:
number
Parameters
emitter:
EventEmitter
event:
string
|
symbol
Returns
number
Globals
Avm
Transactions
Gen2
Avs
Demultiplexer
Avs
Multiplexer
constructor
default
Max
Listeners
add
Listener
create
Stream
emit
event
Names
get
Max
Listeners
listener
Count
listeners
on
once
prepend
Listener
prepend
Once
Listener
remove
All
Listeners
remove
Listener
set
Max
Listeners
write
listener
Count
Avs
Readable
Stream
Avs
Writable
Stream
Canarium
Gen2
Rpc
Client
Rpc
Error
Demultiplexer
Options
Multiplexer
Options
invoke
Callback
Generated using
TypeDoc
Multiplexer for Avalon-ST byte stream