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