|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IResourceDirectory
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
|
static java.lang.String |
URN_SUFFIX
|
| Method Summary | |
|---|---|
java.util.List<Device> |
getAlternateDevices(SameResourceTypeRelation deviceEquivRelation,
java.lang.Object deviceDesc)
Return the list of devices that are equivalent to the given device according to the specified equivalence relation. |
java.util.List<Service> |
getAlternateServices(SameResourceTypeRelation serviceEquivRelation,
SingleServiceDecl decl)
Return the list of services that are equivalent to the given service according to the specified equivalence relation. |
java.util.List<Device> |
getDevices()
Get available devices cached in the Resource Directory. |
PalcomThread |
getResourceDirectoryThread()
Returns a thread for receiving resource queries and requests for resource monitoring. |
java.util.List<Service> |
getServices()
Get available services cached in the Resource Directory |
void |
registerResourceListener(ResourceEventType eventType,
ResourceQuery query,
PalcomThread listener)
Register a listener for the occurence of a particular event type (resource pop up/resource disappearance) on the given resource. |
void |
start()
|
void |
stop()
|
void |
unregisterResourceListener(ResourceEventType eventType,
URN urn)
Unregister a listener for the occurence of a particular event type (resource pop up/resource disappearance) on the given resource. |
| Field Detail |
|---|
static final java.lang.String URN_SUFFIX
static final java.lang.String SERVICE_NAME
| Method Detail |
|---|
void registerResourceListener(ResourceEventType eventType,
ResourceQuery query,
PalcomThread listener)
void unregisterResourceListener(ResourceEventType eventType,
URN urn)
java.util.List<Device> getDevices()
java.util.List<Service> getServices()
java.util.List<Device> getAlternateDevices(SameResourceTypeRelation deviceEquivRelation,
java.lang.Object deviceDesc)
deviceEquivRelation - - equivalence relation to compare the devicesdeviceDesc - - description of the requested device
java.util.List<Service> getAlternateServices(SameResourceTypeRelation serviceEquivRelation,
SingleServiceDecl decl)
serviceEquivRelation - - equivalence relation to compare the devicesdecl - - description of the requested service
PalcomThread getResourceDirectoryThread()
void start()
throws java.io.IOException
java.io.IOException
void stop()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||