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) |
getErrorCodefresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toStringpublic 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 - ServiceLocationExceptionIOExceptionpublic Iterator<String> getResultIterator()
ReplyMessagegetResultIterator in class ReplyMessageprotected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody in class SLPMessagepOption - public Iterator<Exception> getExceptionIterator()
ReplyMessagegetExceptionIterator in class ReplyMessageCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.