提交 6ca63b7a authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Node: getters first.

上级 cf564963
......@@ -33,6 +33,11 @@ class Peer extends EventEmitter
// TODO: subscribe to channel notifications from the worker
}
get closed()
{
return this._closed;
}
/**
* Close the Peer
*/
......
......@@ -29,6 +29,11 @@ class Room extends EventEmitter
// TODO: subscribe to channel notifications from the worker
}
get closed()
{
return this._closed;
}
/**
* Close the Room
*/
......
......@@ -109,6 +109,11 @@ class Server extends EventEmitter
}
}
get closed()
{
return this._closed;
}
/**
* Close the Server
*/
......
......@@ -35,6 +35,26 @@ class Transport extends EventEmitter
// TODO: subscribe to channel notifications from the worker
}
get closed()
{
return this._closed;
}
get iceComponent()
{
return this._data.iceComponent;
}
get iceLocalParameters()
{
return this._data.iceLocalParameters;
}
get iceLocalCandidates()
{
return this._data.iceLocalCandidates;
}
/**
* Close the Transport
*/
......@@ -103,21 +123,6 @@ class Transport extends EventEmitter
});
}
get iceComponent()
{
return this._data.iceComponent;
}
getIceLocalParameters()
{
return this._data.iceLocalParameters;
}
getIceLocalCandidates()
{
return this._data.iceLocalCandidates;
}
createAssociatedTransport()
{
logger.debug('createAssociatedTransport()');
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论