org.sblim.slp.internal

Class SLPServiceRegistration

Implemented Interfaces:
ServiceLocationMessage

public class SLPServiceRegistration
extends java.lang.Object
implements ServiceLocationMessage

SLPServiceRegistration.java (C) Copyright IBM Corp. 2005, 2006 THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. You can obtain a current copy of the Common Public License from http://www.opensource.org/licenses/cpl1.0.php

Constructor Summary

SLPServiceRegistration(boolean pFresh, Locale pLocale, ServiceURL pServiceUrl, Vector pScopes, Vector pAttributes)
SLPServiceRegistration(ServiceLocationHeader pHeader, DataInputStream pStream)

Method Summary

Vector
getAttributes()
Getter for attributes
short
getErrorCode()
ServiceLocationHeader
getHeader()
String
getServiceType()
Getter for serviceType
ServiceURL
getUrl()
Getter for url
Hashtable
getUrlSignature()
Getter for urlSignature

Constructor Details

SLPServiceRegistration

public SLPServiceRegistration(boolean pFresh,
                              Locale pLocale,
                              ServiceURL pServiceUrl,
                              Vector pScopes,
                              Vector pAttributes)
            throws ServiceLocationException

SLPServiceRegistration

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

Method Details

getAttributes

public Vector getAttributes()
Getter for attributes
Returns:
Returns the attributes.

getErrorCode

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

getHeader

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

getServiceType

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

getUrl

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

getUrlSignature

public Hashtable getUrlSignature()
Getter for urlSignature
Returns:
Returns the urlSignature.

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