fix(core): update

This commit is contained in:
Philipp Kunz 2019-06-07 08:40:24 +02:00
parent 1b45fb45e9
commit c3d47c1f50

View File

@ -51,12 +51,12 @@ export let allSocketConnections = new Objectmap<SocketConnection>();
* class SocketConnection represents a websocket connection * class SocketConnection represents a websocket connection
*/ */
export class SocketConnection { export class SocketConnection {
alias: string; public alias: string;
side: TSocketConnectionSide; public side: TSocketConnectionSide;
authenticated: boolean = false; public authenticated: boolean = false;
role: SocketRole; public role: SocketRole;
smartsocketHost: Smartsocket; public smartsocketHost: Smartsocket;
socket: any; // SocketIO.Socket | SocketIOClient.Socket public socket: SocketIO.Socket | SocketIOClient.Socket;
constructor(optionsArg: ISocketConnectionConstructorOptions) { constructor(optionsArg: ISocketConnectionConstructorOptions) {
this.alias = optionsArg.alias; this.alias = optionsArg.alias;
this.authenticated = optionsArg.authenticated; this.authenticated = optionsArg.authenticated;