FunctionIDs
AttributeRequest
, ServiceRequest
, ServiceTypeRequest
public abstract class RequestMessage extends SLPMessage
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 | Description |
---|---|
RequestMessage(int pFunctionID,
java.lang.String pLangTag,
java.util.SortedSet<java.lang.String> pPrevResponderSet,
java.util.List<java.lang.String> pScopeList) |
Ctor.
|
RequestMessage(int pFunctionID,
java.util.SortedSet<java.lang.String> pPrevResponderSet,
java.util.List<java.lang.String> pScopeList) |
Ctor.
|
RequestMessage(MsgHeader pHeader,
java.util.SortedSet<java.lang.String> pPrevResponderSet,
java.util.List<java.lang.String> pScopeList) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract int[] |
getAllowedResponseIDs() |
|
java.util.SortedSet<java.lang.String> |
getPrevResponderSet() |
getPrevResponderSet
|
java.util.Iterator<java.lang.String> |
getPrevRespondersItr() |
getPrevRespondersItr
|
java.util.List<java.lang.String> |
getScopeList() |
getScopeList
|
boolean |
isAllowedResponseType(SLPMessage pRspMsg) |
isAllowedResponseType
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pSkipResponders) |
|
protected abstract boolean |
serializeRequestBody(SLPOutputStream pOutStr) |
|
byte[] |
serializeWithoutResponders(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID) |
serializeWithoutResponders
|
boolean |
updatePrevResponders(java.lang.String pResponder) |
updatePrevResponders
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public RequestMessage(int pFunctionID, java.util.SortedSet<java.lang.String> pPrevResponderSet, java.util.List<java.lang.String> pScopeList)
pFunctionID
- pPrevResponderSet
- - set of address stringspScopeList
- - list of scope stringspublic RequestMessage(int pFunctionID, java.lang.String pLangTag, java.util.SortedSet<java.lang.String> pPrevResponderSet, java.util.List<java.lang.String> pScopeList)
pFunctionID
- pLangTag
- pPrevResponderSet
- - set of address stringspScopeList
- - list of scope stringspublic RequestMessage(MsgHeader pHeader, java.util.SortedSet<java.lang.String> pPrevResponderSet, java.util.List<java.lang.String> pScopeList)
pHeader
- pPrevResponderSet
- - set of address stringspScopeList
- - list of scope stringspublic java.util.SortedSet<java.lang.String> getPrevResponderSet()
public java.util.Iterator<java.lang.String> getPrevRespondersItr()
public boolean updatePrevResponders(java.lang.String pResponder)
pResponder
- public java.util.List<java.lang.String> getScopeList()
public boolean isAllowedResponseType(SLPMessage pRspMsg)
pRspMsg
- public byte[] serializeWithoutResponders(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID) throws ServiceLocationException
pSetMulticastFlag
- pDatagramLimited
- pKeepXID
- ServiceLocationException
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pSkipResponders) throws ServiceLocationException
serializeBody
in class SLPMessage
ServiceLocationException
protected abstract boolean serializeRequestBody(SLPOutputStream pOutStr) throws ServiceLocationException
ServiceLocationException
protected abstract int[] getAllowedResponseIDs()
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.