Class ServiceTypeReply
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.ReplyMessage
org.sblim.slp.internal.msg.ServiceTypeReply
- All Implemented Interfaces:
FunctionIDs
ServiceTypeReply 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
ConstructorsConstructorDescriptionServiceTypeReply(int pErrorCode, List pServTypeList) Ctor.ServiceTypeReply(String pLangTag, int pErrorCode, List pServTypeList) Ctor.ServiceTypeReply(MsgHeader pHeader, int pErrorCode, List pServTypeList) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetExceptionIteratorgetResultIteratorstatic SLPMessageparse(MsgHeader pHdr, SLPInputStream pInStr) parseprotected booleanserializeBody(SLPOutputStream pOutStr, SerializeOption pOption) Methods inherited from class ReplyMessage
getErrorCodeMethods inherited from class SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
-
Constructor Details
-
ServiceTypeReply
Ctor.- Parameters:
pErrorCode-pServTypeList- - list of ServiceTypes
-
ServiceTypeReply
-
ServiceTypeReply
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException parse- Parameters:
pHdr-pInStr-- Returns:
- SLPMessage
- Throws:
ServiceLocationExceptionIOException
-
getResultIterator
Description copied from class:ReplyMessagegetResultIterator- Specified by:
getResultIteratorin classReplyMessage- Returns:
- Iterator
-
serializeBody
- Specified by:
serializeBodyin classSLPMessage- Returns:
- true if all data is written into pOStr (all data fits into size limit)
-
getExceptionIterator
Description copied from class:ReplyMessagegetExceptionIterator- Specified by:
getExceptionIteratorin classReplyMessage- Returns:
- Iterator
-