org.sblim.slp.internal

Class SLPServiceRequestMessage

Implemented Interfaces:
ServiceLocationMessage

public class SLPServiceRequestMessage
extends java.lang.Object
implements ServiceLocationMessage

Constructor Summary

SLPServiceRequestMessage(Locale pLocale, ServiceType pServiceType, Vector pScopes, String pQuery)
SLPServiceRequestMessage(ServiceLocationHeader pHeader, DataInputStream pStream)

Method Summary

short
getErrorCode()
ServiceLocationHeader
getHeader()
String
getQuery()
Getter for query
ServiceType
getServiceType()
Getter for serviceType
Vector
getServiceURLs()
Getter for serviceURLs
String
getSpi()
Getter for spi
ServiceURL
getUrl()
Getter for url
ServiceLocationMessage
makeReply(Vector pUrls)

Constructor Details

SLPServiceRequestMessage

public SLPServiceRequestMessage(Locale pLocale,
                                ServiceType pServiceType,
                                Vector pScopes,
                                String pQuery)
            throws ServiceLocationException

SLPServiceRequestMessage

public SLPServiceRequestMessage(ServiceLocationHeader pHeader,
                                DataInputStream pStream)
            throws ServiceLocationException,
                   IOException

Method Details

getErrorCode

public short getErrorCode()
Specified by:
getErrorCode in interface ServiceLocationMessage

getHeader

public ServiceLocationHeader getHeader()
Specified by:
getHeader in interface ServiceLocationMessage

getQuery

public String getQuery()
Getter for query
Returns:
Returns the query.

getServiceType

public ServiceType getServiceType()
Getter for serviceType
Returns:
Returns the serviceType.

getServiceURLs

public Vector getServiceURLs()
Getter for serviceURLs
Returns:
Returns the serviceURLs.

getSpi

public String getSpi()
Getter for spi
Returns:
Returns the spi.

getUrl

public ServiceURL getUrl()
Getter for url
Returns:
Returns the url.

makeReply

public ServiceLocationMessage makeReply(Vector pUrls)
            throws ServiceLocationException

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