org.sblim.slp.internal.msg
Class ServiceRegistration

java.lang.Object
  extended byorg.sblim.slp.internal.msg.SLPMessage
      extended byorg.sblim.slp.internal.msg.ServiceRegistration
All Implemented Interfaces:
FunctionIDs

public class ServiceRegistration
extends SLPMessage

ServiceRegistration message


Field Summary
 
Fields inherited from interface org.sblim.slp.internal.msg.FunctionIDs
ATTR_RPLY, ATTR_RQST, DA_ADVERT, FIRST_ID, LAST_ID, SA_ADVERT, SRV_ACK, SRV_DEREG, SRV_REG, SRV_RPLY, SRV_RQST, SRV_TYPE_RPLY, SRV_TYPE_RQST
 
Constructor Summary
ServiceRegistration(MsgHeader pHeader, ServiceURL pServURL, java.util.List pScopeList, java.util.List pAttrList, java.util.List pAuthBlockList)
          Ctor.
ServiceRegistration(ServiceURL pServURL, java.util.List pScopeList, java.util.List pAttrList, java.util.List pAuthBlockList)
          Ctor.
ServiceRegistration(java.lang.String pLangTag, ServiceURL pServURL, java.util.List pScopeList, java.util.List pAttrList, java.util.List pAuthBlockList)
          Ctor.
 
Method Summary
 java.util.List getAttributeList()
          getAttributeList
 java.util.List getScopeList()
          getScopeList
 ServiceURL getServiceURL()
          getServiceURL
static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr)
          parse
protected  boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
           
 
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceRegistration

public ServiceRegistration(ServiceURL pServURL,
                           java.util.List pScopeList,
                           java.util.List pAttrList,
                           java.util.List pAuthBlockList)
Ctor.

Parameters:
pServURL -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pAuthBlockList -

ServiceRegistration

public ServiceRegistration(java.lang.String pLangTag,
                           ServiceURL pServURL,
                           java.util.List pScopeList,
                           java.util.List pAttrList,
                           java.util.List pAuthBlockList)
Ctor.

Parameters:
pLangTag -
pServURL -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pAuthBlockList -

ServiceRegistration

public ServiceRegistration(MsgHeader pHeader,
                           ServiceURL pServURL,
                           java.util.List pScopeList,
                           java.util.List pAttrList,
                           java.util.List pAuthBlockList)
Ctor.

Parameters:
pHeader -
pServURL -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pAuthBlockList -
Method Detail

parse

public static SLPMessage parse(MsgHeader pHdr,
                               SLPInputStream pInStr)
                        throws ServiceLocationException,
                               java.io.IOException
parse

Parameters:
pHdr -
pInStr -
Returns:
SLPMessage
Throws:
ServiceLocationException
java.io.IOException

getServiceURL

public ServiceURL getServiceURL()
getServiceURL

Returns:
ServiceURL

getScopeList

public java.util.List getScopeList()
getScopeList

Returns:
List

getAttributeList

public java.util.List getAttributeList()
getAttributeList

Returns:
List

serializeBody

protected boolean serializeBody(SLPOutputStream pOutStr,
                                SerializeOption pOption)
Specified by:
serializeBody in class SLPMessage
Returns:
true if all data is written into pOStr (all data fits into size limit)


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