Class ServiceReply
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.ReplyMessage
org.sblim.slp.internal.msg.ServiceReply
- All Implemented Interfaces:
FunctionIDs
ServiceReply message
-
Field Summary
Fields inherited from interface FunctionIDs
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 Summary
ConstructorsConstructorDescriptionServiceReply
(int pErrorCode, List pURLEntries) Ctor.ServiceReply
(String pLangTag, int pErrorCode, List pURLEntries, List pURLExceptions) Ctor.ServiceReply
(MsgHeader pHeader, int pErrorCode, List pURLEntries, List pURLExceptions) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetExceptionIteratorgetResultIteratorgetURLEntriesgetURLExceptionsstatic SLPMessage
parse
(MsgHeader pHdr, SLPInputStream pInStr) parseprotected boolean
serializeBody
(SLPOutputStream pOutStr, SerializeOption pOption) Methods inherited from class ReplyMessage
getErrorCode
Methods inherited from class SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
-
Constructor Details
-
ServiceReply
Ctor.- Parameters:
pErrorCode
-pURLEntries
- - list of ServiceURLs
-
ServiceReply
-
ServiceReply
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException parse- Parameters:
pHdr
-pInStr
-- Returns:
- SLPMessage
- Throws:
ServiceLocationException
IOException
-
getResultIterator
getResultIterator- Specified by:
getResultIterator
in classReplyMessage
- Returns:
- iterator of URL Exception list
-
getExceptionIterator
getExceptionIterator- Specified by:
getExceptionIterator
in classReplyMessage
- Returns:
- iterator of URL Exception list
-
getURLEntries
-
getURLExceptions
-
serializeBody
- Specified by:
serializeBody
in classSLPMessage
- Returns:
- true if all data is written into pOStr (all data fits into size limit)
-