Package org.sblim.slp.internal.msg
Class DAAdvert
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.ReplyMessage
org.sblim.slp.internal.msg.DAAdvert
- All Implemented Interfaces:
FunctionIDs
DAAdvert message
-
Field Summary
Fields inherited from interface org.sblim.slp.internal.msg.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
ConstructorsConstructorDescriptionDAAdvert
(int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor.DAAdvert
(String pLangTag, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor.DAAdvert
(MsgHeader pHeader, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetExceptionIteratorgetResultIteratorstatic SLPMessage
parse
(MsgHeader pHdr, SLPInputStream pInStr) parseprotected boolean
serializeBody
(SLPOutputStream pOutStr, SerializeOption pOption) Methods inherited from class org.sblim.slp.internal.msg.ReplyMessage
getErrorCode
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
-
Constructor Details
-
DAAdvert
public DAAdvert(int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor.- Parameters:
pErrorCode
-pStatelessBootTime
-pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
-
-
DAAdvert
public DAAdvert(String pLangTag, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor.- Parameters:
pLangTag
-pErrorCode
-pStatelessBootTime
-pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
-
-
DAAdvert
public DAAdvert(MsgHeader pHeader, int pErrorCode, long pStatelessBootTime, String pURLStr, List<String> pScopeList, List<ServiceLocationAttribute> pAttrList, List<String> pSPIList) Ctor.- Parameters:
pHeader
-pErrorCode
-pStatelessBootTime
-pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributespSPIList
-
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException parse- Parameters:
pHdr
-pInStr
-- Returns:
- SLPMessage
- Throws:
ServiceLocationException
IOException
-
getResultIterator
Description copied from class:ReplyMessage
getResultIterator- Specified by:
getResultIterator
in classReplyMessage
- Returns:
- Iterator of DADescriptors
- See Also:
-
serializeBody
- Specified by:
serializeBody
in classSLPMessage
- Parameters:
pOption
-- Returns:
- true if all data is written into pOStr (all data fits into size limit)
-
getExceptionIterator
Description copied from class:ReplyMessage
getExceptionIterator- Specified by:
getExceptionIterator
in classReplyMessage
- Returns:
- Iterator
-