public class AttributeReply 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 |
---|
AttributeReply(int pErrorCode,
java.util.List<ServiceLocationAttribute> pAttrList)
Ctor.
|
AttributeReply(MsgHeader pHeader,
int pErrorCode,
java.util.List<ServiceLocationAttribute> pAttrList)
Ctor.
|
AttributeReply(java.lang.String pLangTag,
int pErrorCode,
java.util.List<ServiceLocationAttribute> pAttrList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.Exception> |
getExceptionIterator()
getExceptionIterator
|
java.util.Iterator<ServiceLocationAttribute> |
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 AttributeReply(int pErrorCode, java.util.List<ServiceLocationAttribute> pAttrList)
pErrorCode
- pAttrList
- - list of ServiceLocationAttributespublic AttributeReply(java.lang.String pLangTag, int pErrorCode, java.util.List<ServiceLocationAttribute> pAttrList)
pLangTag
- pErrorCode
- pAttrList
- - list of ServiceLocationAttributespublic AttributeReply(MsgHeader pHeader, int pErrorCode, java.util.List<ServiceLocationAttribute> pAttrList)
pHeader
- pErrorCode
- pAttrList
- - list of ServiceLocationAttributespublic static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException
pHdr
- pInStr
- ServiceLocationException
java.io.IOException
public java.util.Iterator<ServiceLocationAttribute> getResultIterator()
ReplyMessage
getResultIterator
in class ReplyMessage
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody
in class SLPMessage
pOption
- public java.util.Iterator<java.lang.Exception> getExceptionIterator()
ReplyMessage
getExceptionIterator
in class ReplyMessage
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.