WebSockets: rename Channel to ArdourMessageChannel

This commit is contained in:
Luciano Iam
2020-04-11 17:49:34 +02:00
committed by Robin Gareus
parent 02cdd5b52d
commit 5c78c85ef5
3 changed files with 30 additions and 25 deletions

View File

@@ -16,12 +16,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
import { Channel } from './channel.js';
import { ArdourMessageChannel } from './channel.js';
export class Ardour {
constructor () {
this.channel = new Channel(location.host);
this.channel = new ArdourMessageChannel(location.host);
}
async open () {

View File

@@ -18,7 +18,7 @@
const JSON_INF = 1.0e+128;
export class Channel {
export class ArdourMessageChannel {
constructor (host) {
// https://developer.mozilla.org/en-US/docs/Web/API/URL/host