|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SLPv2 User Agent Interface
Method Summary | |
---|---|
void |
locateAttributes(java.net.InetAddress address,
ServiceUrl url,
java.util.List attributeTags,
LocateAttributesListener listener)
Locate attributes on a specific service or directory agent. |
void |
locateAttributes(java.net.InetAddress address,
java.lang.String serviceType,
java.util.List attributeTags,
LocateAttributesListener listener)
Locate attributes on a specific service or directory agent. |
void |
locateAttributes(ServiceUrl url,
java.util.List attributeTags,
LocateAttributesListener listener)
Locate attributes using multicast convergence algorithm. |
void |
locateAttributes(java.lang.String serviceType,
java.util.List attributeTags,
LocateAttributesListener listener)
Locate attributes using multicast convergence algorithm. |
void |
locateScopes(java.net.InetAddress address,
LocateScopesListener listener)
Locate scopes on a specific service or directory agent. |
void |
locateScopes(LocateScopesListener listener)
Locate scopes using multicast convergence algorithm. |
void |
locateServices(java.net.InetAddress address,
java.lang.String serviceType,
java.lang.String searchFilter,
LocateServicesListener listener)
Locate services on a specific service or directory agent. |
void |
locateServices(java.lang.String serviceType,
java.lang.String searchFilter,
LocateServicesListener listener)
Locate services using multicast convergence algorithm. |
void |
locateServiceTypes(java.net.InetAddress address,
java.lang.String namingAuthority,
LocateServiceTypesListener listener)
Locate service types on a specific service or directory agent. |
void |
locateServiceTypes(java.lang.String namingAuthority,
LocateServiceTypesListener listener)
Locate service types using multicast convergence algorithm. |
Method Detail |
public void locateServices(java.lang.String serviceType, java.lang.String searchFilter, LocateServicesListener listener) throws java.lang.NullPointerException, ServiceLocationException
serviceType
- type of service to locatesearchFilter
- optional LDAPv3 search filterlistener
- callback listener
java.lang.NullPointerException
- if serviceType or listener is null
ServiceLocationException
- if SLP error occurspublic void locateServices(java.net.InetAddress address, java.lang.String serviceType, java.lang.String searchFilter, LocateServicesListener listener) throws java.lang.NullPointerException, ServiceLocationException
address
- service or directory agent addressserviceType
- type of service to locatesearchFilter
- optional LDAPv3 search filterlistener
- callback listener
java.lang.NullPointerException
- if address, serviceType, or listener is null
ServiceLocationException
- if SLP error occurspublic void locateAttributes(ServiceUrl url, java.util.List attributeTags, LocateAttributesListener listener) throws java.lang.NullPointerException, ServiceLocationException
url
- service url to locate attributes forattributeTags
- list of String objects identifying the desired attributes.
Wildcard characters in an attribute tag match an arbitrary sequence of characters.
For instance "*bob*" matches "some bob I know", "bigbob", "bobby" and "bob".
A null value means return all the attributeslistener
- callback listener
java.lang.NullPointerException
- if url or listener is null
ServiceLocationException
- if SLP error occurspublic void locateAttributes(java.net.InetAddress address, ServiceUrl url, java.util.List attributeTags, LocateAttributesListener listener) throws java.lang.NullPointerException, ServiceLocationException
address
- service or directory agent addressurl
- service url to locate attributes forattributeTags
- list of String objects identifying the desired attributes.
Wildcard characters in an attribute tag match an arbitrary sequence of characters.
For instance "*bob*" matches "some bob I know", "bigbob", "bobby" and "bob".
A null value means return all the attributeslistener
- callback listener
java.lang.NullPointerException
- if address, url, or listener is null
ServiceLocationException
- if SLP error occurspublic void locateAttributes(java.lang.String serviceType, java.util.List attributeTags, LocateAttributesListener listener) throws java.lang.NullPointerException, ServiceLocationException
serviceType
- service type to locate attributes forattributeTags
- list of String objects identifying the desired attributes.
Wildcard characters in an attribute tag match an arbitrary sequence of characters.
For instance "*bob*" matches "some bob I know", "bigbob", "bobby" and "bob".
A null value means return all the attributeslistener
- callback listener
java.lang.NullPointerException
- if serviceType or listener is null
ServiceLocationException
- if SLP error occurspublic void locateAttributes(java.net.InetAddress address, java.lang.String serviceType, java.util.List attributeTags, LocateAttributesListener listener) throws java.lang.NullPointerException, ServiceLocationException
address
- service or directory agent addressserviceType
- service type to locate attributes forattributeTags
- list of String objects identifying the desired attributes.
Wildcard characters in an attribute tag match an arbitrary sequence of characters.
For instance "*bob*" matches "some bob I know", "bigbob", "bobby" and "bob".
A null value means return all the attributeslistener
- callback listener
java.lang.NullPointerException
- if address, serviceType, or listener is null
ServiceLocationException
- if SLP error occurspublic void locateServiceTypes(java.lang.String namingAuthority, LocateServiceTypesListener listener) throws java.lang.NullPointerException, ServiceLocationException
namingAuthority
- naming authority, blank for IANA registered service types,
or null for all service types regardless of naming authoritylistener
- callback listener
java.lang.NullPointerException
- if listener is null
ServiceLocationException
- if SLP error occurspublic void locateServiceTypes(java.net.InetAddress address, java.lang.String namingAuthority, LocateServiceTypesListener listener) throws java.lang.NullPointerException, ServiceLocationException
address
- service or directory agent addressnamingAuthority
- naming authority, blank for IANA registered service types,
or null for all service types regardless of naming authoritylistener
- callback listener
java.lang.NullPointerException
- if address or listener is null
ServiceLocationException
- if SLP error occurspublic void locateScopes(LocateScopesListener listener) throws java.lang.NullPointerException, ServiceLocationException
listener
- callback listener
java.lang.NullPointerException
- if listener is null
ServiceLocationException
- if SLP error occurspublic void locateScopes(java.net.InetAddress address, LocateScopesListener listener) throws java.lang.NullPointerException, ServiceLocationException
address
- service or directory agent addresslistener
- callback listener
java.lang.NullPointerException
- if address or listener is null
ServiceLocationException
- if SLP error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |