|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.net.mdns.MDNSRegistry
Adapter to store Supple application information using MDNS.
| Field Summary | |
static int |
LOOKUP_TIMEOUT
|
static java.lang.String |
PROP_TYPE
|
static java.lang.String |
PROP_URL
|
static java.lang.String |
SERVICE_TYPE
|
| Constructor Summary | |
MDNSRegistry()
Default constructor. |
|
| Method Summary | |
void |
close()
Close the registry. |
DirectoryEntry[] |
getLocalInfo(int timeout)
Discover local Supple apps and directories. |
DirectoryEntry |
getLocalInfo(java.lang.String service,
int timeout)
Get info for a specific service. |
void |
registerEntry(java.lang.String name,
int type,
java.lang.String url)
Register a directory at a given url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SERVICE_TYPE
public static final java.lang.String PROP_TYPE
public static final java.lang.String PROP_URL
public static final int LOOKUP_TIMEOUT
| Constructor Detail |
public MDNSRegistry()
throws java.io.IOException
java.io.IOException| Method Detail |
public void registerEntry(java.lang.String name,
int type,
java.lang.String url)
throws java.io.IOException
name - url -
java.io.IOExceptionpublic void close()
public DirectoryEntry[] getLocalInfo(int timeout)
timeout -
public DirectoryEntry getLocalInfo(java.lang.String service,
int timeout)
service -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||