Class AttributeRequest
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.RequestMessage
org.sblim.slp.internal.msg.AttributeRequest
- All Implemented Interfaces:
FunctionIDs
AttributeRequest 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
ConstructorsConstructorDescriptionAttributeRequest(String pLangTag, SortedSet<String> pPrevResponderSet, String pURLStr, List<String> pScopeList, List<String> pTagList, List<String> pSPIList) Ctor.AttributeRequest(SortedSet<String> pPrevResponderSet, String pURLStr, List<String> pScopeList, List<String> pTagList, List<String> pSPIList) Ctor.AttributeRequest(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, String pURLStr, List<String> pScopeList, List<String> pTagList, List<String> pSPIList) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]getServiceURLstatic SLPMessageparse(MsgHeader pHdr, SLPInputStream pInStr) parseprotected booleanserializeRequestBody(SLPOutputStream pOutStr) Methods inherited from class RequestMessage
getPrevResponderSet, getPrevRespondersItr, getScopeList, isAllowedResponseType, serializeBody, serializeWithoutResponders, updatePrevRespondersMethods inherited from class SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
-
Constructor Details
-
AttributeRequest
-
AttributeRequest
public AttributeRequest(String pLangTag, SortedSet<String> pPrevResponderSet, String pURLStr, List<String> pScopeList, List<String> pTagList, List<String> pSPIList) Ctor.- Parameters:
pLangTag-pPrevResponderSet- - set of address stringspURLStr-pScopeList- - list of scope stringspTagList-pSPIList-
-
AttributeRequest
public AttributeRequest(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, String pURLStr, List<String> pScopeList, List<String> pTagList, List<String> pSPIList) Ctor.- Parameters:
pHeader-pPrevResponderSet- - set of address stringspURLStr-pScopeList- - list of scope stringspTagList-pSPIList-
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException parse- Parameters:
pHdr-pInStr-- Returns:
- SLPMessage
- Throws:
ServiceLocationExceptionIOException
-
getServiceURL
-
serializeRequestBody
- Specified by:
serializeRequestBodyin classRequestMessage
-
getAllowedResponseIDs
protected int[] getAllowedResponseIDs()- Specified by:
getAllowedResponseIDsin classRequestMessage
-