Uses of Class
org.sblim.slp.ServiceLocationException
-
Packages that use ServiceLocationException Package Description org.sblim.slp This package contains the external API of the SLP library.org.sblim.slp.example 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 -
-
Uses of ServiceLocationException in org.sblim.slp
Methods in org.sblim.slp that throw ServiceLocationException Modifier and Type Method Description void
Advertiser. addAttributes(ServiceURL pURL, java.util.Vector 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 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 pScopes, java.util.Vector 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 pScopes, java.util.Vector pAttributeIds, java.util.Vector 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 scopes, java.util.Vector 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 pScopes, java.util.Vector pAttributeIds, java.util.Vector 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 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 pScopes, java.lang.String pSearchFilter, java.util.Vector 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 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 pScopes, java.util.Vector 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 Advertiser
ServiceLocationManager. getAdvertiser(java.util.Locale pLocale)
Return an Advertiser object for the given language locale.static Locator
ServiceLocationManager. getLocator(java.util.Locale pLocale)
Return a Locator object for the given language Locale.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 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
ServiceURL. setServiceType(ServiceType pServicetype)
Set the service type name to the object.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.Constructors in org.sblim.slp that throw ServiceLocationException Constructor Description ServiceLocationAttribute(java.lang.String pString)
Construct a service location attribute from a String. -
Uses of ServiceLocationException in org.sblim.slp.example
Methods in org.sblim.slp.example that throw ServiceLocationException Modifier and Type Method Description static Locator
slpMain. getLocator()
static java.util.List
slpMain. lookup(Locator slpLocator, java.lang.String name)
static void
SLPTool. main(java.lang.String[] pArgs)
main -
Uses of ServiceLocationException in org.sblim.slp.internal
Methods in org.sblim.slp.internal that throw ServiceLocationException Modifier and Type Method Description void
AdvertiserImpl. addAttributes(ServiceURL pURL, java.util.Vector pAttributes)
void
AdvertiserImpl. deleteAttributes(ServiceURL pURL, java.util.Vector pAttributeIds)
void
AdvertiserImpl. deregister(ServiceURL pURL)
void
AdvertiserImpl. register(ServiceURL pURL, java.util.Vector pAttributes)
static java.lang.String
Convert. unescape(java.lang.String pStr)
unescape -
Uses of ServiceLocationException in org.sblim.slp.internal.msg
Methods in org.sblim.slp.internal.msg that throw ServiceLocationException Modifier and Type Method Description static SLPMessage
AttributeReply. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
AttributeRequest. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
DAAdvert. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
MsgFactory. parse(java.io.InputStream pInStr)
parsestatic SLPMessage
MsgFactory. parse(java.net.DatagramPacket pPacket)
parsestatic SLPMessage
MsgFactory. parse(java.net.Socket pSock)
parsestatic SLPMessage
MsgFactory. parse(SLPInputStream pInStr)
parsestatic MsgHeader
MsgHeader. parse(SLPInputStream pInStr)
parsestatic SLPMessage
SAAdvert. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceAcknowledgment. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceDeregistration. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceRegistration. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceReply. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceRequest. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceTypeReply. parse(MsgHeader pHdr, SLPInputStream pInStr)
parsestatic SLPMessage
ServiceTypeRequest. parse(MsgHeader pHdr, SLPInputStream pInStr)
parseint
SLPInputStream. read16()
read16int
SLPInputStream. read24()
read24long
SLPInputStream. read32()
read32int
SLPInputStream. read8()
read8ServiceLocationAttribute
SLPInputStream. readAttribute()
readAttributejava.util.List
SLPInputStream. readAttributeList()
readAttributeListjava.util.List
SLPInputStream. readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks...ServiceType
SLPInputStream. readServiceType()
readServiceTypejava.util.List
SLPInputStream. readServTypeList()
readServTypeListjava.lang.String
SLPInputStream. readString()
readStringjava.util.List
SLPInputStream. readStringList()
readStringListjava.util.SortedSet
SLPInputStream. readStringSet()
readStringSetServiceURL
SLPInputStream. readURL()
java.util.List
SLPInputStream. readUrlList(java.util.List pURLExceptions)
readUrlListbyte[]
SLPMessage. serialize(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID)
serializebyte[]
SLPMessage. serialize(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID, SerializeOption pOption)
serializeprotected 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 -
Uses of ServiceLocationException in org.sblim.slp.internal.sa
Methods in org.sblim.slp.internal.sa that throw ServiceLocationException Modifier and Type Method Description void
MessageTable. addResponse(java.net.InetAddress pSource, SLPMessage pRequest, byte[] pRespond)
addResponsebyte[]
MessageTable. getResponse(java.net.InetAddress pSource, SLPMessage pRequest)
getResponseprotected abstract void
RecieverThread. init()
-
Uses of ServiceLocationException in org.sblim.slp.internal.ua
Constructors in org.sblim.slp.internal.ua that throw ServiceLocationException Constructor Description TCPRequester(ResultTable pResTable, java.net.InetAddress pDestination, RequestMessage pReqMsg, boolean pAsThread)
Ctor.
-