public Service.ILWM2MServerService CreateChannel() { int index; lock (this) { index = _ServiceIndex = (_ServiceIndex + 1) % _MaxServiceCount; } if (_Services[index] == null) { _Services[index] = new NativeIPCClient(_Host, _Port); } return(_Services[index]); }
public Service.ILWM2MServerService CreateChannel() { int index; lock (this) { index = _ServiceIndex = (_ServiceIndex + 1) % _MaxServiceCount; } if (_Services[index] == null) { _Services[index] = new NativeIPCClient(_Host, _Port); } return _Services[index]; }