org.sblim.slp.internal.msg
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
public class ServiceRequest
- extends RequestMessage
ServiceRequest message
| 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 |
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. |
| Methods inherited from class org.sblim.slp.internal.msg.SLPMessage |
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString |
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
public ServiceRequest(SortedSet<String> pPrevResponderSet,
ServiceType pServiceType,
List<String> pScopeList,
String pPredicate,
String pSlpSpi)
- Ctor.
- Parameters:
pPrevResponderSet - - set of address stringspServiceType - pScopeList - - list of scope stringspPredicate - pSlpSpi -
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 -
parse
public static SLPMessage parse(MsgHeader pHdr,
SLPInputStream pInStr)
throws ServiceLocationException,
IOException
- parse
- Parameters:
pHdr - pInStr -
- Returns:
- SLPMessage
- Throws:
ServiceLocationException
IOException
getServiceType
public ServiceType getServiceType()
- getServiceType
- Returns:
- ServiceType
serializeRequestBody
protected boolean serializeRequestBody(SLPOutputStream pOutStr)
- Specified by:
serializeRequestBody in class RequestMessage
getAllowedResponseIDs
protected int[] getAllowedResponseIDs()
- Specified by:
getAllowedResponseIDs in class RequestMessage
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.