Package org.sblim.slp.internal.msg
Class ServiceTypeRequest
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.RequestMessage
org.sblim.slp.internal.msg.ServiceTypeRequest
- All Implemented Interfaces:
FunctionIDs
ServiceTypeRequest 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
ConstructorsConstructorDescriptionServiceTypeRequest
(String pLangTag, SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor.ServiceTypeRequest
(SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor.ServiceTypeRequest
(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
static SLPMessage
parse
(MsgHeader pHdr, SLPInputStream pInStr) parseprotected boolean
serializeRequestBody
(SLPOutputStream pOutStr) Methods inherited from class org.sblim.slp.internal.msg.RequestMessage
getPrevResponderSet, getPrevRespondersItr, getScopeList, isAllowedResponseType, serializeBody, serializeWithoutResponders, updatePrevResponders
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
-
Constructor Details
-
ServiceTypeRequest
public ServiceTypeRequest(SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor.- Parameters:
pPrevResponderSet
- - set of address stringspNamingAuth
-pScopeList
- - set of scope strings
-
ServiceTypeRequest
public ServiceTypeRequest(String pLangTag, SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor.- Parameters:
pLangTag
-pPrevResponderSet
- - set of address stringspNamingAuth
-pScopeList
- - set of scope strings
-
ServiceTypeRequest
public ServiceTypeRequest(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, String pNamingAuth, List<String> pScopeList) Ctor.- Parameters:
pHeader
-pPrevResponderSet
- - set of address stringspNamingAuth
-pScopeList
- - set of scope strings
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException parse- Parameters:
pHdr
-pInStr
-- Returns:
- SLPMessage
- Throws:
ServiceLocationException
IOException
-
serializeRequestBody
- Specified by:
serializeRequestBody
in classRequestMessage
-
getAllowedResponseIDs
protected int[] getAllowedResponseIDs()- Specified by:
getAllowedResponseIDs
in classRequestMessage
-