Package | Description |
---|---|
org.sblim.slp |
This package contains the external API of the SLP library.
|
org.sblim.slp.internal |
Internal implementation of the SLP library.
|
org.sblim.slp.internal.msg | |
org.sblim.slp.internal.sa | |
org.sblim.slp.internal.ua |
Modifier and Type | Method and Description |
---|---|
void |
Advertiser.addAttributes(ServiceURL pURL,
Vector<ServiceLocationAttribute> pAttributes)
Update the registration by adding the given attributes.
|
abstract ServiceLocationAttributeVerifier |
TemplateRegistry.attributeVerifier(String pDocumentURL)
Reads the template document URL and returns an attribute verifier for the
service type.
|
void |
Advertiser.deleteAttributes(ServiceURL pURL,
Vector<String> pAttributeIds)
Delete the attributes from a URL for the locale with which the Advertiser
was created.
|
void |
Advertiser.deregister(ServiceURL pURL)
Deregister a service from the SLP framework.
|
abstract void |
TemplateRegistry.deregisterServiceTemplate(ServiceType pType,
Locale pLocale,
String pVersion)
Deregister the template for the service type.
|
ServiceLocationEnumeration |
Locator.findAttributes(ServiceType pType,
Vector<String> pScopes,
Vector<String> pAttributeIds)
For the type and scope, return a Vector of all ServiceLocationAttribute
objects whose ids match the String patterns in the attributeIds Vector
regardless of the Locator's locale.
|
ServiceLocationEnumeration |
Locator.findAttributes(ServiceType pType,
Vector<String> pScopes,
Vector<String> pAttributeIds,
Vector<InetAddress> pDirectoryAgents)
For the type and scope, return a Vector of all ServiceLocationAttribute
objects whose ids match the String patterns in the attributeIds Vector
regardless of the Locator's locale.
|
ServiceLocationEnumeration |
Locator.findAttributes(ServiceURL URL,
Vector<String> scopes,
Vector<String> attributeIds)
For the URL and scope, return a Vector of ServiceLocationAttribute
objects whose ids match the String patterns in the attributeIds Vector.
|
ServiceLocationEnumeration |
Locator.findAttributes(ServiceURL pURL,
Vector<String> pScopes,
Vector<String> pAttributeIds,
Vector<InetAddress> pDirectoryAgents)
For the URL and scope, return a Vector of ServiceLocationAttribute
objects whose ids match the String patterns in the attributeIds Vector.
|
static Vector<?> |
ServiceLocationManager.findScopes()
Returns an List of strings with all available scope names.
|
ServiceLocationEnumeration |
Locator.findServices(ServiceType pType,
Vector<String> pScopes,
String pSearchFilter)
Returns a vector of ServiceURL objects for services matching the query,
and having a matching type in the given scopes.
|
ServiceLocationEnumeration |
Locator.findServices(ServiceType pType,
Vector<String> pScopes,
String pSearchFilter,
Vector<InetAddress> pDirectoryAgents)
Returns a vector of ServiceURL objects for services matching the query,
and having a matching type in the given scopes.
|
ServiceLocationEnumeration |
Locator.findServiceTypes(String pNamingAuthority,
Vector<String> pScopes)
Returns an enumeration of ServiceType objects giving known service types
for the given scopes and given naming authority.
|
ServiceLocationEnumeration |
Locator.findServiceTypes(String pNamingAuthority,
Vector<String> pScopes,
Vector<InetAddress> pDirectoryAgent)
Returns an enumeration of ServiceType objects giving known service types
for the given scopes and given naming authority.
|
abstract String |
TemplateRegistry.findTemplateURL(ServiceType pType,
Locale pLocale,
String pVersion)
Returns the URL for the template document.
|
static int |
ServiceLocationManager.getRefreshInterval()
Returns the maximum across all DAs of the min-refresh-interval attribute.
|
Object |
ServiceLocationEnumeration.next()
Return the next value or block until it becomes available.
|
void |
Advertiser.register(ServiceURL pURL,
Vector<ServiceLocationAttribute> pAttributes)
Register a new service with SLP having the given attributes.
|
abstract void |
TemplateRegistry.registerServiceTemplate(ServiceType pType,
String pDocumentURL,
Locale pLocale,
String pVersion)
Register the service template with the template registry.
|
void |
ServiceLocationAttributeVerifier.verifyAttribute(ServiceLocationAttribute pAttribute)
Verify that the attribute matches the template definition.
|
void |
ServiceLocationAttributeVerifier.verifyRegistration(Vector<?> pAttributeVector)
Verify that the Vector of ServiceLocationAttribute objects matches the
template for this service type.
|
Constructor and Description |
---|
ServiceLocationAttribute(String pString)
Construct a service location attribute from a String.
|
Modifier and Type | Method and Description |
---|---|
void |
AdvertiserImpl.addAttributes(ServiceURL pURL,
Vector<ServiceLocationAttribute> pAttributes) |
void |
AdvertiserImpl.deleteAttributes(ServiceURL pURL,
Vector<String> pAttributeIds) |
void |
AdvertiserImpl.deregister(ServiceURL pURL) |
void |
AdvertiserImpl.register(ServiceURL pURL,
Vector<ServiceLocationAttribute> pAttributes) |
static String |
Convert.unescape(String pStr)
unescape
|
Modifier and Type | Method and Description |
---|---|
static SLPMessage |
MsgFactory.parse(DatagramPacket pPacket)
parse
|
static SLPMessage |
MsgFactory.parse(InputStream pInStr)
parse
|
static SLPMessage |
SAAdvert.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceTypeRequest.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceAcknowledgment.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
DAAdvert.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceTypeReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceDeregistration.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceRegistration.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
AttributeReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceRequest.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
AttributeRequest.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
MsgFactory.parse(SLPInputStream pInStr)
parse
|
static MsgHeader |
MsgHeader.parse(SLPInputStream pInStr)
parse
|
static SLPMessage |
MsgFactory.parse(Socket pSock)
parse
|
int |
SLPInputStream.read16()
read16
|
int |
SLPInputStream.read24()
read24
|
long |
SLPInputStream.read32()
read32
|
int |
SLPInputStream.read8()
read8
|
ServiceLocationAttribute |
SLPInputStream.readAttribute()
readAttribute
|
List<ServiceLocationAttribute> |
SLPInputStream.readAttributeList()
readAttributeList
|
List<?> |
SLPInputStream.readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks...
|
ServiceType |
SLPInputStream.readServiceType()
readServiceType
|
List<ServiceType> |
SLPInputStream.readServTypeList()
readServTypeList
|
String |
SLPInputStream.readString()
readString
|
List<String> |
SLPInputStream.readStringList()
readStringList
|
SortedSet<String> |
SLPInputStream.readStringSet()
readStringSet
|
ServiceURL |
SLPInputStream.readURL() |
List<ServiceURL> |
SLPInputStream.readUrlList(List<Exception> pURLExceptions)
readUrlList
|
byte[] |
SLPMessage.serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID)
serialize
|
byte[] |
SLPMessage.serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID,
SerializeOption pOption)
serialize
|
protected boolean |
RequestMessage.serializeBody(SLPOutputStream pOutStr,
SerializeOption pSkipResponders) |
protected abstract boolean |
SLPMessage.serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
protected abstract boolean |
RequestMessage.serializeRequestBody(SLPOutputStream pOutStr) |
byte[] |
RequestMessage.serializeWithoutResponders(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID)
serializeWithoutResponders
|
Modifier and Type | Method and Description |
---|---|
void |
MessageTable.addResponse(InetAddress pSource,
SLPMessage pRequest,
byte[] pRespond)
addResponse
|
byte[] |
MessageTable.getResponse(InetAddress pSource,
SLPMessage pRequest)
getResponse
|
protected abstract void |
RecieverThread.init() |
Constructor and Description |
---|
TCPRequester(ResultTable pResTable,
InetAddress pDestination,
RequestMessage pReqMsg,
boolean pAsThread)
Ctor.
|
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.