FunctionIDs
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 | Description |
---|---|
ServiceTypeReply(int pErrorCode,
java.util.List<ServiceType> pServTypeList) |
Ctor.
|
ServiceTypeReply(java.lang.String pLangTag,
int pErrorCode,
java.util.List<ServiceType> pServTypeList) |
Ctor.
|
ServiceTypeReply(MsgHeader pHeader,
int pErrorCode,
java.util.List<ServiceType> pServTypeList) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Iterator<java.lang.Exception> |
getExceptionIterator() |
getExceptionIterator
|
java.util.Iterator<ServiceType> |
getResultIterator() |
getResultIterator
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr) |
parse
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getErrorCode
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public ServiceTypeReply(int pErrorCode, java.util.List<ServiceType> pServTypeList)
pErrorCode
- pServTypeList
- - list of ServiceTypespublic ServiceTypeReply(java.lang.String pLangTag, int pErrorCode, java.util.List<ServiceType> pServTypeList)
pLangTag
- pErrorCode
- pServTypeList
- - list of ServiceTypespublic ServiceTypeReply(MsgHeader pHeader, int pErrorCode, java.util.List<ServiceType> pServTypeList)
pHeader
- pErrorCode
- pServTypeList
- - list of ServiceTypespublic static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException
pHdr
- pInStr
- ServiceLocationException
java.io.IOException
public java.util.Iterator<ServiceType> 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, 2013 IBM Corporation. All Rights Reserved.