Package org.cybergarage.upnp.ssdp

Examples of org.cybergarage.upnp.ssdp.SSDPNotifySocketList


  ////////////////////////////////////////////////
  //  Constructor
  ////////////////////////////////////////////////

  public ControlPoint(int ssdpPort, int httpPort,InetAddress[] binds){
    ssdpNotifySocketList = new SSDPNotifySocketList(binds);
    ssdpSearchResponseSocketList = new SSDPSearchResponseSocketList(binds);
   
    setSSDPPort(ssdpPort);
    setHTTPPort(httpPort);
   
View Full Code Here


   
    ////////////////////////////////////////
    // Notify Socket
    ////////////////////////////////////////
   
    SSDPNotifySocketList ssdpNotifySocketList = getSSDPNotifySocketList();
    if (ssdpNotifySocketList.open() == false)
      return false;
    ssdpNotifySocketList.setControlPoint(this);     
    ssdpNotifySocketList.start();
   
    ////////////////////////////////////////
    // SeachResponse Socket
    ////////////////////////////////////////
   
View Full Code Here

 
  public boolean stop()
  {
    unsubscribe();
   
    SSDPNotifySocketList ssdpNotifySocketList = getSSDPNotifySocketList();
    ssdpNotifySocketList.stop();
    ssdpNotifySocketList.close();
    ssdpNotifySocketList.clear();
   
    SSDPSearchResponseSocketList ssdpSearchResponseSocketList = getSSDPSearchResponseSocketList();
    ssdpSearchResponseSocketList.stop();
    ssdpSearchResponseSocketList.close();
    ssdpSearchResponseSocketList.clear();
View Full Code Here

TOP

Related Classes of org.cybergarage.upnp.ssdp.SSDPNotifySocketList

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.