aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ts
blob: 15bd0764fa77b247b126071f8abeb554ebdf8c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Connection from './connection';
import createEventModel, { EventModel } from './event.model';
import createLogModel, { LogModel } from './log.model';


class Client {
  public connection: Connection;
  public Event: EventModel;
  public Log: LogModel;

  constructor(connection: Connection) {
    this.connection = connection;
    this.Log = createLogModel(connection);
    this.Event = createEventModel(connection);
  }
}


export default Client;