Пример #1
0
 public AlarmService(Uri serviceUrl, string realTimeServiceAddress)
 {
     _alarmServiceProxy = new P2000XmlRpcProxy<IAlarmService>(serviceUrl);
     _realTimeServiceAddress = realTimeServiceAddress;
 }
        public SystemInformationService(Uri serviceUrl)
        {
            if (serviceUrl == null) throw new ArgumentNullException("serviceUrl");

            _systemInformationProxy = new P2000XmlRpcProxy<ISystemInformationService>(serviceUrl);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="SessionManagementService"/> class.
 /// </summary>
 /// <param name="serviceUrl">The service URL.</param>
 public SessionManagementService(Uri serviceUrl)
 {
     _sessionManagementService = new P2000XmlRpcProxy<ISessionManagementService>(serviceUrl);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SessionManagementService"/> class.
 /// </summary>
 /// <param name="serviceUrl">The service URL.</param>
 public ApplicationPreferenceService(Uri serviceUrl)
 {
     _applicationPreferenceProxy = new P2000XmlRpcProxy<IApplicationPreference>(serviceUrl);
 }