Package org.sblim.slp.internal.msg
Class SAAdvert
- java.lang.Object
-
- org.sblim.slp.internal.msg.SLPMessage
-
- org.sblim.slp.internal.msg.ReplyMessage
-
- org.sblim.slp.internal.msg.SAAdvert
-
- All Implemented Interfaces:
FunctionIDs
public class SAAdvert extends ReplyMessage
SAAdvert 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
Constructors Constructor Description SAAdvert(java.lang.String pLangTag, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.SAAdvert(java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.SAAdvert(MsgHeader pHeader, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator
getExceptionIterator()
getExceptionIteratorjava.util.Iterator
getResultIterator()
getResultIteratorstatic 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 Detail
-
SAAdvert
public SAAdvert(java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.- Parameters:
pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributes
-
SAAdvert
public SAAdvert(java.lang.String pLangTag, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.- Parameters:
pLangTag
-pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributes
-
SAAdvert
public SAAdvert(MsgHeader pHeader, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList)
Ctor.- Parameters:
pHeader
-pURLStr
-pScopeList
- - list of scope stringspAttrList
- - list of ServiceLocationAttributes
-
-
Method Detail
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException
parse- Parameters:
pHdr
-pInStr
-- Returns:
- SLPMessage
- Throws:
ServiceLocationException
java.io.IOException
-
getResultIterator
public java.util.Iterator getResultIterator()
Description copied from class:ReplyMessage
getResultIterator- Specified by:
getResultIterator
in classReplyMessage
- Returns:
- Iterator
-
serializeBody
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
- Specified by:
serializeBody
in classSLPMessage
- Returns:
- true if all data is written into pOStr (all data fits into size limit)
-
getExceptionIterator
public java.util.Iterator getExceptionIterator()
Description copied from class:ReplyMessage
getExceptionIterator- Specified by:
getExceptionIterator
in classReplyMessage
- Returns:
- Iterator
-
-