structure update

This commit is contained in:
2016-08-09 23:37:25 +02:00
parent 1f8e1fc7cb
commit 19a883c641
10 changed files with 129 additions and 97 deletions
+3 -3
View File
@@ -19,8 +19,8 @@ export interface ISmartsocketClientOptions {
export class SmartsocketClient {
socketConnection:SocketConnection;
constructor(){
constructor(optionsArg:ISmartsocketClientOptions){
// TODO: implement Socket init
};
serverCall(functionNameArg:string,dataArg:ISocketFunctionCall){
let socketRequest = new SocketRequest({
@@ -30,9 +30,9 @@ export class SmartsocketClient {
funcCallData:{
funcName: functionNameArg,
funcDataArg:dataArg
}
});
socketRequest.dispatch();
}
}