Search
Preparing search index...
The search index is not available
ogre-router
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ogre-router
Router
Class Router
Hierarchy
Router
Index
Constructors
constructor
Properties
answer
connection
data
offer
peer
Methods
destroy
get
Answer
get
Offer
on
Connection
on
Data
send
Message
signal
Constructors
constructor
new
Router
(
initiator
:
boolean
)
:
Router
Parameters
initiator:
boolean
Returns
Router
Properties
Private
answer
answer
:
Subject
<
SignalData
>
= ...
Private
connection
connection
:
Subject
<
undefined
>
= ...
Private
data
data
:
Subject
<
string
>
= ...
Private
offer
offer
:
Subject
<
SignalData
>
= ...
Private
peer
peer
:
Instance
Methods
destroy
destroy
(
)
:
void
Returns
void
get
Answer
get
Answer
(
)
:
Promise
<
SignalData
>
Returns
Promise
<
SignalData
>
get
Offer
get
Offer
(
)
:
Promise
<
SignalData
>
Returns
Promise
<
SignalData
>
on
Connection
on
Connection
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Data
on
Data
(
)
:
Observable
<
string
>
Returns
Observable
<
string
>
send
Message
send
Message
(
data
:
SimplePeerData
)
:
void
Parameters
data:
SimplePeerData
Returns
void
signal
signal
(
data
:
string
|
SignalData
)
:
void
Parameters
data:
string
|
SignalData
Returns
void
Exports
Router
constructor
answer
connection
data
offer
peer
destroy
get
Answer
get
Offer
on
Connection
on
Data
send
Message
signal
Generated using
TypeDoc