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