public Agent(TSAPI tsapi, String agent, String password, Device device) { this.tsapi = tsapi; this.device = device; this.agent = agent; this.password = password; this.checkDevice(); }
public Device(TSAPI tsapi, String device) { this.tsapi = tsapi; this.device = device; resultQueryDeviceInfo inf = new resultQueryDeviceInfo(this.initDevice); this.tsapi.getQueryDeviceInfoAsync(this.device, this.initDevice); this.tsapi.getQueryDeviceInfoAsync(this.device, this.initDevice); }