예제 #1
0
        public ModelInfo(Device aDevice, IEventUpnpProvider aEventServer)
        {
            iDevice = aDevice;

            try
            {
                iServiceInfo = new Linn.ControlPoint.Upnp.ServiceInfo(aDevice, aEventServer);
            }
            catch (ServiceException)
            {
                throw new ModelSourceException(301, "Service failure");
            }
        }
예제 #2
0
 internal AsyncActionMetatext(ServiceInfo aService)
 {
     iHandler = aService.Protocol.CreateInvokeHandler(aService, aService.GetActionAt(3));
     iService = aService;
 }
예제 #3
0
 internal AsyncActionCounters(ServiceInfo aService)
 {
     iHandler = aService.Protocol.CreateInvokeHandler(aService, aService.GetActionAt(0));
     iService = aService;
 }