Пример #1
0
 internal void InvokeEventSubscriptionFailed(UPnPError error)
 {
   try
   {
     if (_eventSubscriptionFailed != null)
       _eventSubscriptionFailed(this, error);
   }
   catch (Exception e)
   {
     UPnPConfiguration.LOGGER.Warn("CpService: Error invoking EventSubscriptionFailed delegate", e);
   }
 }
Пример #2
0
 public UPnPRemoteException(UPnPError error) :
     base(error.ErrorDescription)
 {
   _error = error;
 }
Пример #3
0
 internal void ActionErrorResultPresent(UPnPError error, object handle)
 {
   AsyncActionCallResult asyncResult = (AsyncActionCallResult) handle;
   asyncResult.ActionErrorResultPresent(error);
 }
Пример #4
0
 internal void ActionErrorResultPresent(UPnPError error)
 {
   lock (_syncObj)
     _error = error;
   ActionFinished();
 }
Пример #5
0
 private void SubscribeFailed(CpService service, UPnPError error)
 {
   Log.Log.Error("DRI: failed to subscribe to state variable events for service {0}, code = {1}, description = {2}", _unqualifiedServiceName, error.ErrorCode, error.ErrorDescription);
 }