2018-03-13 05:15:40 +00:00
|
|
|
import * as plugins from './smartuniverse.plugins';
|
|
|
|
|
|
|
|
import { Objectmap } from 'lik';
|
2018-04-13 13:45:48 +00:00
|
|
|
import { UniverseChannel } from './smartuniverse.classes.universechannel';
|
2018-03-13 05:15:40 +00:00
|
|
|
|
|
|
|
export class UniverseManager {
|
2018-04-13 13:45:48 +00:00
|
|
|
public channelStore = new Objectmap<UniverseChannel>();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* register a new member
|
|
|
|
*/
|
2018-03-20 07:16:54 +00:00
|
|
|
public async registerMember() {}
|
2018-04-13 13:45:48 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* register a new channel within the universe
|
|
|
|
* @param channelName the name of the channel
|
|
|
|
* @param authSecret the secret against which to verify members of the channel
|
|
|
|
*/
|
2018-04-29 12:17:26 +00:00
|
|
|
public async registerChannel(channelName: string, authSecret: string) {
|
|
|
|
|
|
|
|
}
|
2018-03-13 05:15:40 +00:00
|
|
|
}
|