2018-03-20 07:16:54 +00:00
|
|
|
import * as plugins from './smartuniverse.plugins';
|
|
|
|
import { UniverseMessage } from './smartuniverse.classes.universemessage';
|
2018-03-15 00:05:13 +00:00
|
|
|
export interface IClientOptions {
|
|
|
|
serverAddress: string;
|
|
|
|
}
|
2018-03-13 05:15:40 +00:00
|
|
|
export declare class UniverseClient {
|
2018-03-15 00:05:13 +00:00
|
|
|
options: any;
|
2018-03-20 07:16:54 +00:00
|
|
|
private socketClient;
|
|
|
|
private observableIntake;
|
2018-03-15 00:05:13 +00:00
|
|
|
constructor(optionsArg: IClientOptions);
|
2018-03-15 00:16:16 +00:00
|
|
|
sendMessage(messageArg: any, payloadArg: any): Promise<void>;
|
2018-03-20 07:16:54 +00:00
|
|
|
getMessageObservable(): plugins.smartrx.rxjs.Observable<UniverseMessage>;
|
2018-03-13 05:15:40 +00:00
|
|
|
}
|