Class ControlPoint

    • Field Detail

      • deviceChangeListenerList

        ListenerList deviceChangeListenerList
    • Constructor Detail

      • ControlPoint

        public ControlPoint​(int ssdpPort,
                            int httpPort,
                            InetAddress[] binds)
      • ControlPoint

        public ControlPoint​(int ssdpPort,
                            int httpPort)
      • ControlPoint

        public ControlPoint()
    • Method Detail

      • getSSDPNotifySocketList

        protected SSDPNotifySocketList getSSDPNotifySocketList()
        I2P was private
      • finalize

        public void finalize()
        Overrides:
        finalize in class Object
      • lock

        public void lock()
      • unlock

        public void unlock()
      • getSSDPPort

        public int getSSDPPort()
      • setSSDPPort

        public void setSSDPPort​(int port)
      • getHTTPPort

        public int getHTTPPort()
      • setHTTPPort

        public void setHTTPPort​(int port)
      • setNMPRMode

        public void setNMPRMode​(boolean flag)
      • isNMPRMode

        public boolean isNMPRMode()
      • getDeviceList

        public DeviceList getDeviceList()
      • hasDevice

        public boolean hasDevice​(String name)
      • removeDevice

        protected void removeDevice​(Device dev)
      • removeDevice

        protected void removeDevice​(String name)
      • removeExpiredDevices

        public void removeExpiredDevices()
      • setExpiredDeviceMonitoringInterval

        public void setExpiredDeviceMonitoringInterval​(long interval)
      • getExpiredDeviceMonitoringInterval

        public long getExpiredDeviceMonitoringInterval()
      • setDeviceDisposer

        public void setDeviceDisposer​(Disposer disposer)
      • getDeviceDisposer

        public Disposer getDeviceDisposer()
      • addNotifyListener

        public void addNotifyListener​(NotifyListener listener)
      • removeNotifyListener

        public void removeNotifyListener​(NotifyListener listener)
      • performNotifyListener

        public void performNotifyListener​(SSDPPacket ssdpPacket)
      • removeSearchResponseListener

        public void removeSearchResponseListener​(SearchResponseListener listener)
      • performSearchResponseListener

        public void performSearchResponseListener​(SSDPPacket ssdpPacket)
      • removeDeviceChangeListener

        public void removeDeviceChangeListener​(DeviceChangeListener listener)
      • performAddDeviceListener

        public void performAddDeviceListener​(Device dev)
      • performRemoveDeviceListener

        public void performRemoveDeviceListener​(Device dev)
      • notifyReceived

        public void notifyReceived​(SSDPPacket packet)
      • searchResponseReceived

        public void searchResponseReceived​(SSDPPacket packet)
      • getSearchMx

        public int getSearchMx()
      • setSearchMx

        public void setSearchMx​(int mx)
      • search

        public void search​(String target,
                           int mx)
      • search

        public void search​(String target)
      • search

        public void search()
      • getHTTPServerList

        protected HTTPServerList getHTTPServerList()
        I2P was private
      • addEventListener

        public void addEventListener​(EventListener listener)
      • removeEventListener

        public void removeEventListener​(EventListener listener)
      • performEventListener

        public void performEventListener​(String uuid,
                                         long seq,
                                         String name,
                                         String value)
      • getEventSubURI

        public String getEventSubURI()
      • setEventSubURI

        public void setEventSubURI​(String url)
      • subscribe

        public boolean subscribe​(Service service,
                                 long timeout)
      • subscribe

        public boolean subscribe​(Service service)
      • subscribe

        public boolean subscribe​(Service service,
                                 String uuid,
                                 long timeout)
      • subscribe

        public boolean subscribe​(Service service,
                                 String uuid)
      • isSubscribed

        public boolean isSubscribed​(Service service)
      • unsubscribe

        public boolean unsubscribe​(Service service)
      • unsubscribe

        public void unsubscribe​(Device device)
      • unsubscribe

        public void unsubscribe()
      • getSubscriberService

        public Service getSubscriberService​(String uuid)
      • renewSubscriberService

        public void renewSubscriberService​(Device dev,
                                           long timeout)
      • renewSubscriberService

        public void renewSubscriberService​(long timeout)
      • renewSubscriberService

        public void renewSubscriberService()
      • setRenewSubscriber

        public void setRenewSubscriber​(RenewSubscriber sub)
      • start

        public boolean start​(String target,
                             int mx)
      • start

        public boolean start​(String target)
      • start

        public boolean start()
      • stop

        public boolean stop()
      • setUserData

        public void setUserData​(Object data)
      • getUserData

        public Object getUserData()
      • print

        public void print()