public class ServiceTypeReply 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 |
---|
ServiceTypeReply(int pErrorCode,
List<ServiceType> pServTypeList)
Ctor.
|
ServiceTypeReply(MsgHeader pHeader,
int pErrorCode,
List<ServiceType> pServTypeList)
Ctor.
|
ServiceTypeReply(String pLangTag,
int pErrorCode,
List<ServiceType> pServTypeList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Exception> |
getExceptionIterator()
getExceptionIterator
|
Iterator<ServiceType> |
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 ServiceTypeReply(int pErrorCode, List<ServiceType> pServTypeList)
pErrorCode
- pServTypeList
- - list of ServiceTypespublic ServiceTypeReply(String pLangTag, int pErrorCode, List<ServiceType> pServTypeList)
pLangTag
- pErrorCode
- pServTypeList
- - list of ServiceTypespublic ServiceTypeReply(MsgHeader pHeader, int pErrorCode, List<ServiceType> pServTypeList)
pHeader
- pErrorCode
- pServTypeList
- - list of ServiceTypespublic static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
pHdr
- pInStr
- ServiceLocationException
IOException
public Iterator<ServiceType> 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, 2012 IBM Corporation. All Rights Reserved.