SimplePeerAbstract
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
manager: * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
id: * |
|
| public |
messageBuffer: *[] |
|
| Private Members | ||
| private |
|
|
| private |
_manager: * |
|
| private |
_options: * |
|
Method Summary
| Public Methods | ||
| public |
destroy() |
|
| public |
send(data: *) |
|
| public |
signal(data: *) |
|
| Private Methods | ||
| private |
_close() |
|
| private |
_connect(offer: *) |
|
| private |
_connectWith(connectedWith: *) |
|
| private |
_createAccept(offer: *): * |
|
| private |
_createOffer(): * |
|
| private |
_error(error: *) |
|
| private |
_init() |
|
| private |
|
|
| private |
_send(to: *, data: *) |
|
Static Public Members
public static get manager: * source
Public Constructors
public constructor() source
Public Members
public connectedWith: * source
public id: * source
public messageBuffer: *[] source
Private Members
private _manager: * source
private _options: * source
Public Methods
public destroy() source
public send(data: *) source
Params:
| Name | Type | Attribute | Description |
| data | * |
public signal(data: *) source
Params:
| Name | Type | Attribute | Description |
| data | * |
Private Methods
private _close() source
private _connect(offer: *) source
Params:
| Name | Type | Attribute | Description |
| offer | * |
private _connectWith(connectedWith: *) source
Params:
| Name | Type | Attribute | Description |
| connectedWith | * |
private _error(error: *) source
Params:
| Name | Type | Attribute | Description |
| error | * |
private _init() source
private _reviewMessageBuffer() source
private _send(to: *, data: *) source
Params:
| Name | Type | Attribute | Description |
| to | * |
|
|
| data | * |
