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,
java.util.Vector<ServiceLocationAttribute> pAttributes)
Update the registration by adding the given attributes.
|
abstract ServiceLocationAttributeVerifier |
TemplateRegistry.attributeVerifier(java.lang.String pDocumentURL)
Reads the template document URL and returns an attribute verifier for the
service type.
|
void |
Advertiser.deleteAttributes(ServiceURL pURL,
java.util.Vector<java.lang.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,
java.util.Locale pLocale,
java.lang.String pVersion)
Deregister the template for the service type.
|
ServiceLocationEnumeration |
Locator.findAttributes(ServiceType pType,
java.util.Vector<java.lang.String> pScopes,
java.util.Vector<java.lang.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,
java.util.Vector<java.lang.String> pScopes,
java.util.Vector<java.lang.String> pAttributeIds,
java.util.Vector<java.net.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,
java.util.Vector<java.lang.String> scopes,
java.util.Vector<java.lang.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,
java.util.Vector<java.lang.String> pScopes,
java.util.Vector<java.lang.String> pAttributeIds,
java.util.Vector<java.net.InetAddress> pDirectoryAgents)
For the URL and scope, return a Vector of ServiceLocationAttribute
objects whose ids match the String patterns in the attributeIds Vector.
|
static java.util.Vector<?> |
ServiceLocationManager.findScopes()
Returns an List of strings with all available scope names.
|
ServiceLocationEnumeration |
Locator.findServices(ServiceType pType,
java.util.Vector<java.lang.String> pScopes,
java.lang.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,
java.util.Vector<java.lang.String> pScopes,
java.lang.String pSearchFilter,
java.util.Vector<java.net.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(java.lang.String pNamingAuthority,
java.util.Vector<java.lang.String> pScopes)
Returns an enumeration of ServiceType objects giving known service types
for the given scopes and given naming authority.
|
ServiceLocationEnumeration |
Locator.findServiceTypes(java.lang.String pNamingAuthority,
java.util.Vector<java.lang.String> pScopes,
java.util.Vector<java.net.InetAddress> pDirectoryAgent)
Returns an enumeration of ServiceType objects giving known service types
for the given scopes and given naming authority.
|
abstract java.lang.String |
TemplateRegistry.findTemplateURL(ServiceType pType,
java.util.Locale pLocale,
java.lang.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.
|
java.lang.Object |
ServiceLocationEnumeration.next()
Return the next value or block until it becomes available.
|
void |
Advertiser.register(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes)
Register a new service with SLP having the given attributes.
|
abstract void |
TemplateRegistry.registerServiceTemplate(ServiceType pType,
java.lang.String pDocumentURL,
java.util.Locale pLocale,
java.lang.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(java.util.Vector<?> pAttributeVector)
Verify that the Vector of ServiceLocationAttribute objects matches the
template for this service type.
|
Constructor and Description |
---|
ServiceLocationAttribute(java.lang.String pString)
Construct a service location attribute from a String.
|
Modifier and Type | Method and Description |
---|---|
void |
AdvertiserImpl.addAttributes(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes) |
void |
AdvertiserImpl.deleteAttributes(ServiceURL pURL,
java.util.Vector<java.lang.String> pAttributeIds) |
void |
AdvertiserImpl.deregister(ServiceURL pURL) |
void |
AdvertiserImpl.register(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes) |
static java.lang.String |
Convert.unescape(java.lang.String pStr)
unescape
|
Modifier and Type | Method and Description |
---|---|
static SLPMessage |
MsgFactory.parse(java.net.DatagramPacket pPacket)
parse
|
static SLPMessage |
MsgFactory.parse(java.io.InputStream pInStr)
parse
|
static SLPMessage |
AttributeRequest.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 |
ServiceTypeRequest.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceAcknowledgment.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceRequest.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
AttributeReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
DAAdvert.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
ServiceTypeReply.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static SLPMessage |
SAAdvert.parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
static MsgHeader |
MsgHeader.parse(SLPInputStream pInStr)
parse
|
static SLPMessage |
MsgFactory.parse(SLPInputStream pInStr)
parse
|
static SLPMessage |
MsgFactory.parse(java.net.Socket pSock)
parse
|
int |
SLPInputStream.read16()
read16
|
int |
SLPInputStream.read24()
read24
|
long |
SLPInputStream.read32()
read32
|
int |
SLPInputStream.read8()
read8
|
ServiceLocationAttribute |
SLPInputStream.readAttribute()
readAttribute
|
java.util.List<ServiceLocationAttribute> |
SLPInputStream.readAttributeList()
readAttributeList
|
java.util.List<?> |
SLPInputStream.readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks...
|
ServiceType |
SLPInputStream.readServiceType()
readServiceType
|
java.util.List<ServiceType> |
SLPInputStream.readServTypeList()
readServTypeList
|
java.lang.String |
SLPInputStream.readString()
readString
|
java.util.List<java.lang.String> |
SLPInputStream.readStringList()
readStringList
|
java.util.SortedSet<java.lang.String> |
SLPInputStream.readStringSet()
readStringSet
|
ServiceURL |
SLPInputStream.readURL() |
java.util.List<ServiceURL> |
SLPInputStream.readUrlList(java.util.List<java.lang.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 abstract boolean |
SLPMessage.serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
protected boolean |
RequestMessage.serializeBody(SLPOutputStream pOutStr,
SerializeOption pSkipResponders) |
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(java.net.InetAddress pSource,
SLPMessage pRequest,
byte[] pRespond)
addResponse
|
byte[] |
MessageTable.getResponse(java.net.InetAddress pSource,
SLPMessage pRequest)
getResponse
|
protected abstract void |
RecieverThread.init() |
Constructor and Description |
---|
TCPRequester(ResultTable pResTable,
java.net.InetAddress pDestination,
RequestMessage pReqMsg,
boolean pAsThread)
Ctor.
|
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.