MCPcopy Create free account
hub / github.com/AutoCodeStack/ios-device-farm / constructor

Method constructor

src/modules/idf.ts:27–33  ·  view source on GitHub ↗
(udid: string, version: string, socket: Socket)

Source from the content-addressed store, hash-verified

25 streamClient?: SubProcess;
26
27 constructor(udid: string, version: string, socket: Socket) {
28 this.socketClient = socket;
29 this.udid = udid;
30 this.tunnelManager = new TunnelManager(udid);
31 this.wdaStreamClient = new WdaStreamClient();
32 this.version = getDeviceVersion(version);
33 }
34
35 getPorts() {
36 return [this.controlPort, this.streamPort];

Callers

nothing calls this directly

Calls 1

getDeviceVersionFunction · 0.90

Tested by

no test coverage detected