Uses of Class org.sblim.slp.ServiceLocationException

Uses in package org.sblim.slp.example

Methods which throw type org.sblim.slp.ServiceLocationException

Locator
List
slpMain.lookup(Locator slpLocator, String name)

Uses in package org.sblim.slp

Constructors which throw type org.sblim.slp.ServiceLocationException

Construct a service location attribute from a String.

Methods which throw type org.sblim.slp.ServiceLocationException

void
Advertiser.addAttributes(ServiceURL pURL, Vector pAttributes)
Update the registration by adding the given attributes.
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 pAttributeIds)
Delete the attributes from a URL for the locale with which the Advertiser was created.
void
Deregister a service from the SLP framework.
void
TemplateRegistry.deregisterServiceTemplate(ServiceType pType, Locale pLocale, String pVersion)
Deregister the template for the service type.
ServiceLocationEnumeration
Locator.findAttributes(ServiceType pType, Vector pScopes, 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, Vector pScopes, Vector pAttributeIds, 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, Vector scopes, 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, Vector pScopes, Vector pAttributeIds, Vector pDirectoryAgents)
For the URL and scope, return a Vector of ServiceLocationAttribute objects whose ids match the String patterns in the attributeIds Vector.
Vector
Returns an List of strings with all available scope names.
ServiceLocationEnumeration
Locator.findServiceTypes(String pNamingAuthority, Vector 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 pScopes, Vector pDirectoryAgent)
Returns an enumeration of ServiceType objects giving known service types for the given scopes and given naming authority.
ServiceLocationEnumeration
Locator.findServices(ServiceType pType, Vector 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 pScopes, String pSearchFilter, Vector pDirectoryAgents)
Returns a vector of ServiceURL objects for services matching the query, and having a matching type in the given scopes.
String
TemplateRegistry.findTemplateURL(ServiceType pType, Locale pLocale, String pVersion)
Returns the URL for the template document.
Advertiser
Return an Advertiser object for the given language locale.
Locator
Return a Locator object for the given language Locale.
int
Returns the maximum across all DAs of the min-refresh-interval attribute.
Object
Return the next value or block until it becomes available.
void
Advertiser.register(ServiceURL pURL, Vector pAttributes)
Register a new service with SLP having the given attributes.
void
TemplateRegistry.registerServiceTemplate(ServiceType pType, String pDocumentURL, Locale pLocale, String pVersion)
Register the service template with the template registry.
String
Returns the attribute serialized (as comma separated list)
void
Set the service type name to the object.
void
Verify that the attribute matches the template definition.
void
Verify that the Vector of ServiceLocationAttribute objects matches the template for this service type.

Uses in package org.sblim.slp.internal

Constructors which throw type org.sblim.slp.ServiceLocationException

SLPHeaderV2.SLPHeaderV2(int pFunctionCode, boolean pFresh, Locale pLocale)
SLPSAAdvert.SLPSAAdvert(int pVersion, short pXid, Locale pLocale, ServiceURL pServiceurl, Vector pScopes, Vector pAttributes)
SLPSAAdvert.SLPSAAdvert(SLPHeaderV2 pHeader, DataInputStream pStream)
SLPServerHeaderV2.SLPServerHeaderV2(int pFunctionCode, boolean pFlag, Locale pLocale)
SLPServiceDeregistration.SLPServiceDeregistration(Locale pLocale, ServiceURL pServiceUrl, Vector pScopes, Vector pTagList)
SLPServiceRegistration.SLPServiceRegistration(boolean pFresh, Locale pLocale, ServiceURL pServiceUrl, Vector pScopes, Vector pAttributes)
SLPServiceReplyMessage.SLPServiceReplyMessage(SLPHeaderV2 pHeader, DataInputStream pStream)
SLPServiceRequestMessage.SLPServiceRequestMessage(Locale pLocale, ServiceType pServiceType, Vector pScopes, String pQuery)
SLPServiceTypeRequestMessage.SLPServiceTypeRequestMessage(Locale pLocale, String pNamingAuthority, Vector pScopes)

Fields of type org.sblim.slp.ServiceLocationException

ServiceLocationException

Methods with return type org.sblim.slp.ServiceLocationException

ServiceLocationException
MessageDispatcher.dispatchDAMsg(Vector pDAList, ServiceLocationMessage pRequest, Vector pResults, int pMaxReplies)
ServiceLocationException
MessageDispatcherStreamed.dispatchDAMsg(Vector pDAList, ServiceLocationMessage pRequest, Vector pResults, int pMaxReplies)
ServiceLocationException
MessageDispatcher.dispatchDatagramMsg(ServiceLocationMessage pRequest, Vector pResponseList, int[] pTimeoutList, int pMaxResults, InetAddress pInetAddress, boolean pJustFirstResult)
ServiceLocationException
MessageDispatcherStreamed.dispatchDatagramMsg(ServiceLocationMessage pRequest, Vector pResponseList, int[] pTimeoutList, int pMaxResults, InetAddress pInetAddress, boolean pJustFirstResult)
ServiceLocationException
ServiceLocationEnumeratorStreamed.dispatchDatagramMsg(ServiceLocationMessage pRequest, Vector pResponseList, int[] pTimeoutList, int pMaxResults, InetAddress pInetAddress, boolean pJustFirstResult)
ServiceLocationException

Methods which throw type org.sblim.slp.ServiceLocationException

void
AdvertiserImpl.addAttributes(ServiceURL pUrl, Vector pAttributes)
Update the registration by adding the given attributes.
void
AdvertiserImpl.deleteAttributes(ServiceURL pUrl, Vector pAttributeIds)
Delete the attributes from a URL for the locale with which the Advertiser was created.
void
Deregister a service from the SLP framework.
void
ServiceRepository.deregister(ServiceURL pServiceUrl, Vector pScopes)
Vector
MessageDispatcher.dispatchMulticastMsg(InetAddress pInetAddress, DatagramSocket pDatagramSocket, ServiceLocationMessage pRequest, int[] pMsTimeOutsList, int pMaxResults, boolean pGetFirstResult)
Vector
MessageDispatcherStreamed.dispatchMulticastMsg(InetAddress pInetAddress, DatagramSocket pDatagramSocket, ServiceLocationMessage pRequest, int[] pMsTimeOutsList, int pMaxResults, boolean getFirstResult)
Vector
ServiceLocationEnumeratorStreamed.dispatchMulticastMsg(InetAddress pInetaddress, DatagramSocket pDatagramsocket1, ServiceLocationMessage pRequest, int[] pMsTimeOutsList, int pMaxResults, boolean pGetFirstResult)
ServiceLocationMessage
MessageDispatcher.dispatchStreamMsg(InetAddress pInetAddress, ServiceLocationMessage pRequest, boolean pRetry)
ServiceLocationMessage
MessageDispatcherStreamed.dispatchStreamMsg(InetAddress pInetAddress, ServiceLocationMessage pRequest, boolean pRetry)
Vector
MessageDispatcher.dispatchUAMsg(Vector pDAList, ServiceLocationMessage pRequestMsg, InetAddress pInetAddress)
Vector
MessageDispatcherStreamed.dispatchUAMsg(Vector pDAList, ServiceLocationMessage pRequestMsg, InetAddress pInetAddress)
Enumeration
ServiceLocationEnumeratorStreamed.dispatchUAMsg(Vector pDAList, ServiceLocationMessage pRequestMsg, InetAddress pInetAddress)
String
Utils.escapeAttributeString(String pString)
void
Utils.escapeScopeStrings(Vector pValueList)
void
Utils.escapeTags(Vector pValueList)
ServiceLocationEnumeration
LocatorImpl.findAttributes(ServiceType pServiceType, Vector pScopes, 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
LocatorImplStreamed.findAttributes(ServiceType pServiceType, Vector pScopes, 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
LocatorImpl.findAttributes(ServiceType pType, Vector pScopes, Vector pAttributeIds, Vector directoryAgents)
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
LocatorImplStreamed.findAttributes(ServiceType pServiceType, Vector pScopes, Vector pAttributeIds, 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
LocatorImpl.findAttributes(ServiceURL pServiceUrl, Vector pScopes, Vector pAttributeIds)
For the URL and scope, return a Vector of ServiceLocationAttribute objects whose ids match the String patterns in the attributeIds Vector.
ServiceLocationEnumeration
LocatorImplStreamed.findAttributes(ServiceURL pServiceUrl, Vector pScopes, Vector pAttributeIds)
For the URL and scope, return a Vector of ServiceLocationAttribute objects whose ids match the String patterns in the attributeIds Vector.
ServiceLocationEnumeration
LocatorImpl.findAttributes(ServiceURL pURL, Vector pScopes, Vector pAttributeIds, Vector directoryAgents)
For the URL and scope, return a Vector of ServiceLocationAttribute objects whose ids match the String patterns in the attributeIds Vector.
ServiceLocationEnumeration
LocatorImplStreamed.findAttributes(ServiceURL pServiceUrl, Vector pScopes, Vector pAttributeIds, Vector pDirectoryAgents)
For the URL and scope, return a Vector of ServiceLocationAttribute objects whose ids match the String patterns in the attributeIds Vector.
ServiceLocationEnumeration
LocatorImpl.findServiceTypes(String pNamingAuthority, Vector pScopes)
Returns an enumeration of ServiceType objects giving known service types for the given scopes and given naming authority.
ServiceLocationEnumeration
LocatorImplStreamed.findServiceTypes(String pNamingAuthority, Vector pScopes)
Returns an enumeration of ServiceType objects giving known service types for the given scopes and given naming authority.
ServiceLocationEnumeration
LocatorImpl.findServiceTypes(String pNamingAuthority, Vector pScopes, Vector pDirectoryAgent)
Returns an enumeration of ServiceType objects giving known service types for the given scopes and given naming authority.
ServiceLocationEnumeration
LocatorImplStreamed.findServiceTypes(String pNamingAuthority, Vector pScopes, Vector pDirectoryAgent)
Returns an enumeration of ServiceType objects giving known service types for the given scopes and given naming authority.
Vector
ServiceRepository.findServiceTypes(ServiceType pServiceType, Vector pScopes)
ServiceLocationEnumeration
LocatorImpl.findServices(ServiceType pServicetype, Vector pScopes, String pQuery)
Returns a vector of ServiceURL objects for services matching the query, and having a matching type in the given scopes.
ServiceLocationEnumeration
LocatorImplStreamed.findServices(ServiceType pServiceType, Vector pScopes, String pQuery)
Returns a vector of ServiceURL objects for services matching the query, and having a matching type in the given scopes.
ServiceLocationEnumeration
LocatorImpl.findServices(ServiceType pServicetype, Vector pScopes, String pQuery, Vector pDiscoveryAgents)
Returns a vector of ServiceURL objects for services matching the query, and having a matching type in the given scopes.
ServiceLocationEnumeration
LocatorImplStreamed.findServices(ServiceType pServiceType, Vector pScopes, String pQuery, Vector pDiscoveryAgents)
Returns a vector of ServiceURL objects for services matching the query, and having a matching type in the given scopes.
byte[]
MessageDispatcher.getBytes(ServiceLocationMessage pRequest, boolean pUsingMCast, boolean pUsingStreams)
byte[]
MessageDispatcherStreamed.getBytes(ServiceLocationMessage pRequest, boolean pUsingMCast, boolean pUsingStreams)
int
ServiceLocationHeader.getInt(DataInputStream pStream)
int
ServiceLocationHeader.getInt24(DataInputStream pStream)
int
ServiceLocationHeader.getInteger(DataInputStream pStream)
byte[]
ServiceLocationHeader.getString(StringBuffer pBuffer, DataInputStream pStream)
byte[]
ServiceLocationHeader.getStringField(StringBuffer pBuffer, DataInputStream pStream, String pString)
boolean
ServiceLocationMessage
ServiceLocationMessage
ServiceLocationMessage
ServiceTable.makeSAAdvert(SLPServiceRequestMessage pServiceMsg, InetAddress pInetAddress)
Object
Object
Return the next value or block until it becomes available.
byte[]
SLPHeaderV2.parseAttributeVector(Vector pVector, DataInputStream pStream)
void
SLPHeaderV2.parseAuthenticatedAttributeVector(Vector pVector, DataInputStream pStream, boolean pFlag)
Vector
Utils.parseCommaSeparatedList(String pString, boolean pIgnoreParenthesis)
void
ServiceLocationHeader.parseHeader(int pFunctionCode, DataInputStream pStream)
void
SLPHeaderV2.parseHeader(int pFunctionCode, DataInputStream pStream)
void
SLPServerHeaderV2.parseHeader(int pFunctionCode, DataInputStream pStream)
ServiceLocationMessage
MessageDispatcher.parseMsg(DataInputStream pInputStream)
ServiceLocationMessage
MessageDispatcherStreamed.parseMsg(DataInputStream pInputStream)
ServiceLocationMessage
ServiceLocationHeader.parseMsg(DataInputStream pStream)
ServiceLocationMessage
SLPHeaderV2.parseMsg(DataInputStream pStream)
ServiceLocationMessage
SLPServerHeaderV2.parseMsg(DataInputStream pStream)
void
ServiceLocationHeader.parseOptions(DataInputStream pStream)
void
SLPHeaderV2.parseOptions(DataInputStream pStream)
void
SLPServerHeaderV2.parsePreviousResponders(DataInputStream pStream)
void
SLPServerHeaderV2.parseScopes(DataInputStream pStream)
void
AdvertiserImpl.register(ServiceURL pServiceUrl, Vector pAttibutes)
Register a new service with SLP having the given attributes.
boolean
ServiceRepository.register(ServiceURL pServiceUrl, Vector pAttributeIds, Vector pScopes, Locale pLocale)
void
ServiceLocationHeader.serialize(ByteArrayOutputStream pStream, boolean pUsingMCast, boolean pUsingStreams)
void
SLPHeaderV2.serialize(ByteArrayOutputStream pStream, boolean pUsingMCast, boolean pUsingStreams)
byte[]
SLPHeaderV2.serializeAttributeVector(Vector pAttributes, ByteArrayOutputStream pStream, boolean pHasSecurity)
boolean
SLPHeaderV2.serializeServiceURL(ServiceURL pServiceUrl, ByteArrayOutputStream pStream, boolean pUsingDatagram)
boolean
SLPHeaderV2.serializeServiceURL(ServiceURL pServiceUrl, Hashtable pSpiAuthBlock, ByteArrayOutputStream pStream, boolean pUseMcast)
String
byte[]
Utils.unescapeByteArray(String pString)
char
Utils.unescapeChar(String pString)
void
Utils.unescapeScopeStrings(Vector pValueList)
void
ServiceRepository.updateRegistration(ServiceURL pServiceUrl, Vector pAttributeIds, Vector pScopes, Locale pLocale)

Copyright © 2005, 2007 IBM Corporation. All Rights Reserved.