FunctionIDs
public class ServiceRegistration extends SLPMessage
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 | Description |
---|---|
ServiceRegistration(java.lang.String pLangTag,
ServiceURL pServURL,
java.util.List<java.lang.String> pScopeList,
java.util.List<ServiceLocationAttribute> pAttrList,
java.util.List<?> pAuthBlockList) |
Ctor.
|
ServiceRegistration(MsgHeader pHeader,
ServiceURL pServURL,
java.util.List<java.lang.String> pScopeList,
java.util.List<ServiceLocationAttribute> pAttrList,
java.util.List<?> pAuthBlockList) |
Ctor.
|
ServiceRegistration(ServiceURL pServURL,
java.util.List<java.lang.String> pScopeList,
java.util.List<ServiceLocationAttribute> pAttrList,
java.util.List<?> pAuthBlockList) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<ServiceLocationAttribute> |
getAttributeList() |
getAttributeList
|
java.util.List<java.lang.String> |
getScopeList() |
getScopeList
|
ServiceURL |
getServiceURL() |
getServiceURL
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr) |
parse
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public ServiceRegistration(ServiceURL pServURL, java.util.List<java.lang.String> pScopeList, java.util.List<ServiceLocationAttribute> pAttrList, java.util.List<?> pAuthBlockList)
pServURL
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespAuthBlockList
- public ServiceRegistration(java.lang.String pLangTag, ServiceURL pServURL, java.util.List<java.lang.String> pScopeList, java.util.List<ServiceLocationAttribute> pAttrList, java.util.List<?> pAuthBlockList)
pLangTag
- pServURL
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespAuthBlockList
- public ServiceRegistration(MsgHeader pHeader, ServiceURL pServURL, java.util.List<java.lang.String> pScopeList, java.util.List<ServiceLocationAttribute> pAttrList, java.util.List<?> pAuthBlockList)
pHeader
- pServURL
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespAuthBlockList
- public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException
pHdr
- pInStr
- ServiceLocationException
java.io.IOException
public ServiceURL getServiceURL()
public java.util.List<java.lang.String> getScopeList()
public java.util.List<ServiceLocationAttribute> getAttributeList()
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody
in class SLPMessage
pOption
- Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.