Package org.cybergarage.upnp
Class ControlPoint
java.lang.Object
org.cybergarage.upnp.ControlPoint
- All Implemented Interfaces:
HTTPRequestListener
- Direct Known Subclasses:
UPnP
public class ControlPoint extends Object implements HTTPRequestListener
-
Field Summary
Fields Modifier and Type Field Description (package private) ListenerList
deviceChangeListenerList
-
Constructor Summary
Constructors Constructor Description ControlPoint()
ControlPoint(int ssdpPort, int httpPort)
ControlPoint(int ssdpPort, int httpPort, InetAddress[] binds)
-
Method Summary
-
Field Details
-
deviceChangeListenerList
ListenerList deviceChangeListenerList
-
-
Constructor Details
-
ControlPoint
-
ControlPoint
public ControlPoint(int ssdpPort, int httpPort) -
ControlPoint
public ControlPoint()
-
-
Method Details
-
getSSDPNotifySocketList
I2P was private -
getSSDPSearchResponseSocketList
I2P was private -
finalize
public void finalize() -
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
-
getDevice
-
hasDevice
-
removeDevice
-
removeDevice
-
removeExpiredDevices
public void removeExpiredDevices() -
setExpiredDeviceMonitoringInterval
public void setExpiredDeviceMonitoringInterval(long interval) -
getExpiredDeviceMonitoringInterval
public long getExpiredDeviceMonitoringInterval() -
setDeviceDisposer
-
getDeviceDisposer
-
addNotifyListener
-
removeNotifyListener
-
performNotifyListener
-
addSearchResponseListener
-
removeSearchResponseListener
-
performSearchResponseListener
-
addDeviceChangeListener
-
removeDeviceChangeListener
-
performAddDeviceListener
-
performRemoveDeviceListener
-
notifyReceived
-
searchResponseReceived
-
getSearchMx
public int getSearchMx() -
setSearchMx
public void setSearchMx(int mx) -
search
-
search
-
search
public void search() -
getHTTPServerList
I2P was private -
httpRequestRecieved
- Specified by:
httpRequestRecieved
in interfaceHTTPRequestListener
-
addEventListener
-
removeEventListener
-
performEventListener
-
getEventSubURI
-
setEventSubURI
-
subscribe
-
subscribe
-
subscribe
-
subscribe
-
isSubscribed
-
unsubscribe
-
unsubscribe
-
unsubscribe
public void unsubscribe() -
getSubscriberService
-
renewSubscriberService
-
renewSubscriberService
public void renewSubscriberService(long timeout) -
renewSubscriberService
public void renewSubscriberService() -
setRenewSubscriber
-
getRenewSubscriber
-
start
-
start
-
start
public boolean start() -
stop
public boolean stop() -
setUserData
-
getUserData
-
print
public void print()
-