Package org.apache.felix.upnp.basedriver.importer.core.event.message

Examples of org.apache.felix.upnp.basedriver.importer.core.event.message.ListenerUnRegistration


    } else if (event.getType() == ServiceEvent.UNREGISTERING) {
      UPnPEventListener listener = (UPnPEventListener) context
          .getService(event.getServiceReference());
      if (listener != null) {
        ListenerUnRegistration msg = new ListenerUnRegistration(
            listener);
        subQueue.enqueue(msg);
      }
      context.ungetService(event.getServiceReference());
    }
View Full Code Here


            monitor.addListener(service.getSID(),firstmsg.getListener());
          }
        } else if (msg instanceof ListenerModified) {
          monitor.updateListener((ListenerModified)msg,subQueue,ctrl);
        } else if (msg instanceof ListenerUnRegistration) {
          ListenerUnRegistration unreg=(ListenerUnRegistration)msg;
          monitor.delListener(unreg.getListener(),ctrl);
        } else if(msg instanceof SidExipired){
            Activator.logger.WARNING("[Importer] Please report the bug. Used code - should be checked and removed");
        }
      }
    }
View Full Code Here

    } else if (event.getType() == ServiceEvent.UNREGISTERING) {
      UPnPEventListener listener = (UPnPEventListener) context
          .getService(event.getServiceReference());
      if (listener != null) {
        ListenerUnRegistration msg = new ListenerUnRegistration(
            listener);
        subQueue.enqueue(msg);
      }
      context.ungetService(event.getServiceReference());
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.upnp.basedriver.importer.core.event.message.ListenerUnRegistration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.