|
| SSDPSearchSocket (String bindAddr, int port, String multicast) |
|
| SSDPSearchSocket (InetAddress bindAddr) |
|
boolean | open (Inet4Address bindAddr) |
|
boolean | open (Inet6Address bindAddr) |
|
boolean | open (String bind, String multicast) |
|
boolean | open (String bindAddr) |
|
void | addSearchListener (SearchListener listener) |
|
void | removeSearchListener (SearchListener listener) |
|
void | performSearchListener (SSDPPacket ssdpPacket) |
|
void | run () |
|
void | start () |
|
void | stop () |
|
| HTTPMUSocket () |
|
| HTTPMUSocket (String addr, int port, String bindAddr) |
|
String | getLocalAddress () |
|
int | getMulticastPort () |
|
int | getLocalPort () |
|
MulticastSocket | getSocket () |
|
InetAddress | getMulticastInetAddress () |
|
String | getMulticastAddress () |
|
boolean | open (String addr, int port, InetAddress bindAddr) |
|
boolean | open (String addr, int port, String bindAddr) |
|
boolean | close () |
|
boolean | send (String msg, String bindAddr, int bindPort) |
|
boolean | send (String msg) |
|
boolean | post (HTTPRequest req, String bindAddr, int bindPort) |
|
boolean | post (HTTPRequest req) |
|
SSDPPacket | receive () throws IOException |
|
◆ SSDPSearchSocket() [1/2]
org.cybergarage.upnp.ssdp.SSDPSearchSocket.SSDPSearchSocket |
( |
String | bindAddr, |
|
|
int | port, |
|
|
String | multicast ) |
|
inline |
- Parameters
-
bindAddr | The address to bind the service |
port | The port used for accepting message |
multicast | The multicast address to use as destination |
- Since
- 1.8
◆ SSDPSearchSocket() [2/2]
org.cybergarage.upnp.ssdp.SSDPSearchSocket.SSDPSearchSocket |
( |
InetAddress | bindAddr | ) |
|
|
inline |
- Parameters
-
bindAddr | the binding address for senging multicast packet |
- Since
- 1.8
◆ addSearchListener()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.addSearchListener |
( |
SearchListener | listener | ) |
|
|
inline |
◆ open() [1/4]
boolean org.cybergarage.upnp.ssdp.SSDPSearchSocket.open |
( |
Inet4Address | bindAddr | ) |
|
|
inline |
◆ open() [2/4]
boolean org.cybergarage.upnp.ssdp.SSDPSearchSocket.open |
( |
Inet6Address | bindAddr | ) |
|
|
inline |
◆ open() [3/4]
boolean org.cybergarage.upnp.ssdp.SSDPSearchSocket.open |
( |
String | bind, |
|
|
String | multicast ) |
|
inline |
◆ open() [4/4]
boolean org.cybergarage.upnp.ssdp.SSDPSearchSocket.open |
( |
String | bindAddr | ) |
|
|
inline |
- Parameters
-
bindAddr | the hostname of the interface to use for senfing multicast packet |
- Returns
- true if and only if it open the socket
- See also
SSDP
for default multicast and port destination of the packtes
◆ performSearchListener()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.performSearchListener |
( |
SSDPPacket | ssdpPacket | ) |
|
|
inline |
◆ removeSearchListener()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.removeSearchListener |
( |
SearchListener | listener | ) |
|
|
inline |
◆ run()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.run |
( |
| ) |
|
|
inline |
◆ start()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.start |
( |
| ) |
|
|
inline |
◆ stop()
void org.cybergarage.upnp.ssdp.SSDPSearchSocket.stop |
( |
| ) |
|
|
inline |
◆ deviceSearchListenerList
◆ deviceSearchThread
Thread org.cybergarage.upnp.ssdp.SSDPSearchSocket.deviceSearchThread = null |
|
private |
◆ useIPv6Address
boolean org.cybergarage.upnp.ssdp.SSDPSearchSocket.useIPv6Address |
|
private |
The documentation for this class was generated from the following file: