Home Reference Source
public class | source

NodeSignalingClientProtocol

You can directly use an instance of this class. nodeSignalingClientProtocol

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

sendAnswerIceCandidate(socket: *, connectionId: *, iceCandidate: *)

public

sendErrorConnection(webPeer: *)

public

sendInitiatorIceCandidate(socket: *, connectionId: *, iceCandidate: *)

public

sendSuccessConnection(webPeer: *)

public

webPeerDisconnected(webPeer: *)

Private Methods
private
private
private
private

async _searchWebPeerSignalingClientList2(socket: *, data: *): *

Public Constructors

public constructor() source

Public Methods

public initializeSignalingClientService(socket: *) source

Params:

NameTypeAttributeDescription
socket *

public sendAnswerIceCandidate(socket: *, connectionId: *, iceCandidate: *) source

Params:

NameTypeAttributeDescription
socket *
connectionId *
iceCandidate *

public sendErrorConnection(webPeer: *) source

Params:

NameTypeAttributeDescription
webPeer *

public sendInitiatorIceCandidate(socket: *, connectionId: *, iceCandidate: *) source

Params:

NameTypeAttributeDescription
socket *
connectionId *
iceCandidate *

public sendSuccessConnection(webPeer: *) source

Params:

NameTypeAttributeDescription
webPeer *

public webPeerDisconnected(webPeer: *) source

Params:

NameTypeAttributeDescription
webPeer *

Private Methods

private _initializeSignalingClientService1(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private _initializeSignalingClientService2(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private _initializeSimpleProtocol(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private async _searchWebPeerSignalingClientList2(socket: *, data: *): * source

Params:

NameTypeAttributeDescription
socket *
data *

Return:

*