public void StartService() { this._host = new DataSubscriberHost(); this._host.StartService(); _systemName = "CEWEBSERVICECLIENT_" + ServiceListener.HostName; _systemUri = this._host.HttpUri; Subscribe(); }
public void StopService() { if (null != this._host) { this._host.StopService(); this._host = null; } if ((null != this._systemName) && (null != this._systemUri)) { Unsubscribe(); } }