org.sblim.slp.internal.msg

Class ServiceRequest

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(SortedSet pPrevResponderSet, ServiceType pServiceType, List pScopeList, String pPredicate, String pSlpSpi)
Ctor.
ServiceRequest(String pLangTag, 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()
ServiceType
getServiceType()
getServiceType
static SLPMessage
parse(MsgHeader pHdr, SLPInputStream pInStr)
parse
protected boolean
serializeRequestBody(SLPOutputStream pOutStr)

Methods inherited from class org.sblim.slp.internal.msg.RequestMessage

getAllowedResponseIDs, getPrevResponderSet, getPrevRespondersItr, getScopeList, isAllowedResponseType, serializeBody, serializeRequestBody, serializeWithoutResponders, updatePrevResponders

Methods inherited from class org.sblim.slp.internal.msg.SLPMessage

fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, serializeBody, setXID, toString

Constructor Details

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(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(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 Details

getAllowedResponseIDs

protected int[] getAllowedResponseIDs()
Overrides:
getAllowedResponseIDs in interface RequestMessage

getServiceType

public ServiceType getServiceType()
getServiceType
Returns:
ServiceType

parse

public static SLPMessage parse(MsgHeader pHdr,
                               SLPInputStream pInStr)
            throws ServiceLocationException,
                   IOException
parse
Parameters:
pHdr -
pInStr -
Returns:
SLPMessage

serializeRequestBody

protected boolean serializeRequestBody(SLPOutputStream pOutStr)
Overrides:
serializeRequestBody in interface RequestMessage

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.