org.sblim.slp.internal.msg
public class SAAdvert 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 |
---|
SAAdvert(MsgHeader pHeader,
String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList)
Ctor.
|
SAAdvert(String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList)
Ctor.
|
SAAdvert(String pLangTag,
String pURLStr,
List<String> pScopeList,
List<ServiceLocationAttribute> pAttrList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Exception> |
getExceptionIterator()
getExceptionIterator
|
Iterator<String> |
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 SAAdvert(String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList)
pURLStr
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespublic SAAdvert(String pLangTag, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList)
pLangTag
- pURLStr
- pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespublic static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
pHdr
- pInStr
- ServiceLocationException
IOException
public Iterator<String> getResultIterator()
ReplyMessage
getResultIterator
in class ReplyMessage
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody
in class SLPMessage
pOption
- public Iterator<Exception> getExceptionIterator()
ReplyMessage
getExceptionIterator
in class ReplyMessage
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.