Home Reference Source
import MSuggest from 'tman-wrtc/lib/messages/msuggest.js'
public class | source

MSuggest

Message sent by a peer to another one in order to suggest new connection.

Constructor Summary

Public Constructor
public

constructor(inview: string, descriptor: object, sample: object[])

Member Summary

Public Members
public
public

peer: *

public

sample: *

public

Public Constructors

public constructor(inview: string, descriptor: object, sample: object[]) source

Params:

NameTypeAttributeDescription
inview string

The identifier of the inview of the sender.

descriptor object

The descriptor of the sender.

sample object[]

The sample containing the identifier of peers and their descriptor.

Public Members

public descriptor: * source

public peer: * source

public sample: * source

public type: string source