org.jmythapi.upnp
Class UpnpUtil
java.lang.Object
org.jmythapi.upnp.UpnpUtil
public class UpnpUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_ST
public static final String PROP_ST
- See Also:
- Constant Field Values
PROP_LOCATION
public static final String PROP_LOCATION
- See Also:
- Constant Field Values
PROP_NT
public static final String PROP_NT
- See Also:
- Constant Field Values
PROP_NTS
public static final String PROP_NTS
- See Also:
- Constant Field Values
BROADCAST_DEVICE_TYPE
public static final String BROADCAST_DEVICE_TYPE
- See Also:
- Constant Field Values
BROADCAST_IP
public static final String BROADCAST_IP
- See Also:
- Constant Field Values
BROADCAST_PORT
public static final Integer BROADCAST_PORT
logger
protected static final Logger logger
- For logging
UpnpUtil
public UpnpUtil()
locateDatabase
public static Map<String,String> locateDatabase(URI statusURI,
String pin)
throws IOException
- Parameters:
statusURI
- the URI to a backend GetConnectionInfo
page.
- Throws:
IOException
- on communication errors- Since:
- 34
- See Also:
- First Version
waitForBackend
public static URI waitForBackend(int timeout,
String hostName)
locateBackend
public static Collection<URI> locateBackend()
throws IOException
- Throws:
IOException
parsePacket
public static Map<String,String> parsePacket(DatagramPacket rpkt)
throws IOException
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.