2017-10-31 16:10:30 +01:00
|
|
|
import Stream from './stream';
|
2018-03-15 11:53:46 +01:00
|
|
|
import MiOS from '../../mios';
|
2017-10-31 16:10:30 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Channel stream connection
|
|
|
|
*/
|
2017-11-16 17:24:44 +01:00
|
|
|
export default class Connection extends Stream {
|
2018-03-15 11:53:46 +01:00
|
|
|
constructor(os: MiOS, channelId) {
|
|
|
|
super(os, 'channel', {
|
2017-10-31 19:17:14 +01:00
|
|
|
channel: channelId
|
|
|
|
});
|
2017-10-31 16:10:30 +01:00
|
|
|
}
|
|
|
|
}
|