org.sblim.slp.internal
Class SLPServiceRequestMessage

java.lang.Object
  extended byorg.sblim.slp.internal.SLPServiceRequestMessage
All Implemented Interfaces:
org.sblim.slp.internal.ServiceLocationMessage

public class SLPServiceRequestMessage
extends java.lang.Object
implements org.sblim.slp.internal.ServiceLocationMessage


Constructor Summary
SLPServiceRequestMessage(java.util.Locale pLocale, ServiceType pServiceType, java.util.Vector pScopes, java.lang.String pQuery)
           
SLPServiceRequestMessage(ServiceLocationHeader pHeader, java.io.DataInputStream pStream)
           
 
Method Summary
 short getErrorCode()
           
 ServiceLocationHeader getHeader()
           
 java.lang.String getQuery()
          Getter for query
 ServiceType getServiceType()
          Getter for serviceType
 java.util.Vector getServiceURLs()
          Getter for serviceURLs
 java.lang.String getSpi()
          Getter for spi
 ServiceURL getUrl()
          Getter for url
 org.sblim.slp.internal.ServiceLocationMessage makeReply(java.util.Vector pUrls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLPServiceRequestMessage

public SLPServiceRequestMessage(java.util.Locale pLocale,
                                ServiceType pServiceType,
                                java.util.Vector pScopes,
                                java.lang.String pQuery)
                         throws ServiceLocationException

SLPServiceRequestMessage

public SLPServiceRequestMessage(ServiceLocationHeader pHeader,
                                java.io.DataInputStream pStream)
                         throws ServiceLocationException,
                                java.io.IOException
Method Detail

makeReply

public org.sblim.slp.internal.ServiceLocationMessage makeReply(java.util.Vector pUrls)
                                                        throws ServiceLocationException
Throws:
ServiceLocationException

getErrorCode

public short getErrorCode()
Specified by:
getErrorCode in interface org.sblim.slp.internal.ServiceLocationMessage

getHeader

public ServiceLocationHeader getHeader()
Specified by:
getHeader in interface org.sblim.slp.internal.ServiceLocationMessage

getQuery

public java.lang.String getQuery()
Getter for query

Returns:
Returns the query.

getServiceType

public ServiceType getServiceType()
Getter for serviceType

Returns:
Returns the serviceType.

getServiceURLs

public java.util.Vector getServiceURLs()
Getter for serviceURLs

Returns:
Returns the serviceURLs.

getSpi

public java.lang.String getSpi()
Getter for spi

Returns:
Returns the spi.

getUrl

public ServiceURL getUrl()
Getter for url

Returns:
Returns the url.


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