org.sblim.slp.internal.msg

Class ServiceRequest

public class ServiceRequest extends RequestMessage

ServiceRequest message
Constructor Summary
ServiceRequest(String pLangTag, SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Ctor.
ServiceRequest(SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Ctor.
ServiceRequest(MsgHeader pHeader, SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Method Summary
protected int[]getAllowedResponseIDs()
ServiceTypegetServiceType()
getServiceType
static SLPMessageparse(MsgHeader pHdr, SLPInputStream pInStr)
parse
protected booleanserializeRequestBody(SLPOutputStream pOutStr)

Constructor Detail

ServiceRequest

public ServiceRequest(String pLangTag, SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Ctor.

Parameters: pLangTag pPrevResponderSet - set of address strings pServiceType pScopeList - list of scope strings pPredicate pSlpSpi

ServiceRequest

public ServiceRequest(SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Ctor.

Parameters: pPrevResponderSet - set of address strings pServiceType pScopeList - list of scope strings pPredicate pSlpSpi

ServiceRequest

public ServiceRequest(MsgHeader pHeader, SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)

Parameters: pHeader pPrevResponderSet - set of address strings pServiceType pScopeList - list of scope strings pPredicate - LDAPv3 search filter pSlpSpi

Method Detail

getAllowedResponseIDs

protected int[] getAllowedResponseIDs()

getServiceType

public ServiceType getServiceType()
getServiceType

Returns: ServiceType

parse

public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr)
parse

Parameters: pHdr pInStr

Returns: SLPMessage

Throws: ServiceLocationException IOException

serializeRequestBody

protected boolean serializeRequestBody(SLPOutputStream pOutStr)
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.