Home Reference Source
public class | source

ELiving

Entry of the living table containing sockets still in use.

Constructor Summary

Public Constructor
public

constructor(peerId: string, socket: object)

Member Summary

Public Members
public
public

peer: *

public

socket: *

Method Summary

Public Methods
public

Remove an occurrence of the arc to the protocol

public

Add an occurrence of the arc to the protocol

Public Constructors

public constructor(peerId: string, socket: object) source

Params:

NameTypeAttributeDescription
peerId string

The identifier of the peer reachable through the socket.

socket object

The WebRTC socket.

Public Members

public counter: number source

public peer: * source

public socket: * source

Public Methods

public decrement() source

Remove an occurrence of the arc to the protocol

public increment() source

Add an occurrence of the arc to the protocol