PeerConnection
Static Method Summary
Static Public Methods | ||
public static |
getInbound(networkConnection: NetworkConnection): PeerConnection |
|
public static |
getOutbound(peerAddress: PeerAddress): PeerConnection |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
ageEstablished: number |
|
public get |
establishedSince: number |
|
public get |
id: number |
|
public get |
|
|
public set |
networkAgent(value: NetworkAgent) |
|
public set |
networkConnection(value: NetworkConnection) |
|
public get |
|
|
public get |
|
|
public set |
|
|
public set |
peerAddress(value: PeerAddress) |
|
public get |
|
|
public set |
peerChannel(value: PeerChannel) |
|
public get |
|
|
public get |
score: number |
|
public set |
score(value: number) |
|
public get |
state: number |
|
public get |
|
Method Summary
Public Methods | ||
public |
close(): void |
|
public |
negotiating(): void |
Static Public Methods
public static getInbound(networkConnection: NetworkConnection): PeerConnection source
Params:
Name | Type | Attribute | Description |
networkConnection | NetworkConnection |
public static getOutbound(peerAddress: PeerAddress): PeerConnection source
Params:
Name | Type | Attribute | Description |
peerAddress | PeerAddress |