public class DAAdvert extends ReplyMessage
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 and Description |
---|
DAAdvert(int pErrorCode,
long pStatelessBootTime,
String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList,
List<String> pSPIList)
Ctor.
|
DAAdvert(MsgHeader pHeader,
int pErrorCode,
long pStatelessBootTime,
String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList,
List<String> pSPIList)
Ctor.
|
DAAdvert(String pLangTag,
int pErrorCode,
long pStatelessBootTime,
String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList,
List<String> pSPIList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Exception> |
getExceptionIterator()
getExceptionIterator
|
Iterator<DADescriptor> |
getResultIterator()
getResultIterator
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
getErrorCode
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public DAAdvert(int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList)
pErrorCode
- pStatelessBootTime
- pURLStr
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
- public DAAdvert(String pLangTag, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList)
pLangTag
- pErrorCode
- pStatelessBootTime
- pURLStr
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
- public DAAdvert(MsgHeader pHeader, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList)
pHeader
- pErrorCode
- pStatelessBootTime
- pURLStr
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
- public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
pHdr
- pInStr
- ServiceLocationException
IOException
public Iterator<DADescriptor> getResultIterator()
ReplyMessage
getResultIterator
in class ReplyMessage
ReplyMessage.getResultIterator()
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody
in class SLPMessage
pOption
- public Iterator<Exception> getExceptionIterator()
ReplyMessage
getExceptionIterator
in class ReplyMessage
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.