org.sblim.slp.internal.msg
Class ServiceRequest

java.lang.Object
  extended byorg.sblim.slp.internal.msg.SLPMessage
      extended byorg.sblim.slp.internal.msg.RequestMessage
          extended byorg.sblim.slp.internal.msg.ServiceRequest
All Implemented Interfaces:
FunctionIDs

public class ServiceRequest
extends RequestMessage

ServiceRequest message


Field Summary
 
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, java.util.SortedSet pPrevResponderSet, ServiceType pServiceType, java.util.List pScopeList, java.lang.String pPredicate, java.lang.String pSlpSpi)
           
ServiceRequest(java.util.SortedSet pPrevResponderSet, ServiceType pServiceType, java.util.List pScopeList, java.lang.String pPredicate, java.lang.String pSlpSpi)
          Ctor.
ServiceRequest(java.lang.String pLangTag, java.util.SortedSet pPrevResponderSet, ServiceType pServiceType, java.util.List pScopeList, java.lang.String pPredicate, java.lang.String pSlpSpi)
          Ctor.
 
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
getPrevResponderSet, getPrevRespondersItr, getScopeList, isAllowedResponseType, serializeBody, serializeWithoutResponders, updatePrevResponders
 
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceRequest

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

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

ServiceRequest

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

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

ServiceRequest

public ServiceRequest(MsgHeader pHeader,
                      java.util.SortedSet pPrevResponderSet,
                      ServiceType pServiceType,
                      java.util.List pScopeList,
                      java.lang.String pPredicate,
                      java.lang.String pSlpSpi)
Parameters:
pHeader -
pPrevResponderSet - - set of address strings
pServiceType -
pScopeList - - list of scope strings
pPredicate - - LDAPv3 search filter
pSlpSpi -
Method Detail

parse

public static SLPMessage parse(MsgHeader pHdr,
                               SLPInputStream pInStr)
                        throws ServiceLocationException,
                               java.io.IOException
parse

Parameters:
pHdr -
pInStr -
Returns:
SLPMessage
Throws:
ServiceLocationException
java.io.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, 2011 IBM Corporation. All Rights Reserved.