public class ServiceRequest extends RequestMessage
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 and Description |
---|
ServiceRequest(MsgHeader pHeader,
SortedSet<String> pPrevResponderSet,
ServiceType pServiceType,
List<String> pScopeList,
String pPredicate,
String pSlpSpi) |
ServiceRequest(SortedSet<String> pPrevResponderSet,
ServiceType pServiceType,
List<String> pScopeList,
String pPredicate,
String pSlpSpi)
Ctor.
|
ServiceRequest(String pLangTag,
SortedSet<String> pPrevResponderSet,
ServiceType pServiceType,
List<String> pScopeList,
String pPredicate,
String pSlpSpi)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected int[] |
getAllowedResponseIDs() |
ServiceType |
getServiceType()
getServiceType
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
protected boolean |
serializeRequestBody(SLPOutputStream pOutStr) |
getPrevResponderSet, getPrevRespondersItr, getScopeList, isAllowedResponseType, serializeBody, serializeWithoutResponders, updatePrevResponders
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public ServiceRequest(String pLangTag, SortedSet<String> pPrevResponderSet, ServiceType pServiceType, List<String> pScopeList, String pPredicate, String pSlpSpi)
pLangTag
- pPrevResponderSet
- - set of address stringspServiceType
- pScopeList
- - list of scope stringspPredicate
- pSlpSpi
- public ServiceRequest(SortedSet<String> pPrevResponderSet, ServiceType pServiceType, List<String> pScopeList, String pPredicate, String pSlpSpi)
pPrevResponderSet
- - set of address stringspServiceType
- pScopeList
- - list of scope stringspPredicate
- pSlpSpi
- public ServiceRequest(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, ServiceType pServiceType, List<String> pScopeList, String pPredicate, String pSlpSpi)
pHeader
- pPrevResponderSet
- - set of address stringspServiceType
- pScopeList
- - list of scope stringspPredicate
- - LDAPv3 search filterpSlpSpi
- public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
pHdr
- pInStr
- ServiceLocationException
IOException
public ServiceType getServiceType()
protected boolean serializeRequestBody(SLPOutputStream pOutStr)
serializeRequestBody
in class RequestMessage
protected int[] getAllowedResponseIDs()
getAllowedResponseIDs
in class RequestMessage
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.