org.sblim.slp.internal.msg
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 and Description |
|---|
RequestMessage(int pFunctionID,
java.util.SortedSet pPrevResponderSet,
java.util.List pScopeList)
Ctor.
|
RequestMessage(int pFunctionID,
java.lang.String pLangTag,
java.util.SortedSet pPrevResponderSet,
java.util.List pScopeList)
Ctor.
|
RequestMessage(MsgHeader pHeader,
java.util.SortedSet pPrevResponderSet,
java.util.List pScopeList)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract int[] |
getAllowedResponseIDs() |
java.util.SortedSet |
getPrevResponderSet()
getPrevResponderSet
|
java.util.Iterator |
getPrevRespondersItr()
getPrevRespondersItr
|
java.util.List |
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
|
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toStringpublic RequestMessage(int pFunctionID,
java.util.SortedSet pPrevResponderSet,
java.util.List pScopeList)
pFunctionID - pPrevResponderSet - - set of address stringspScopeList - - list of scope stringspublic RequestMessage(int pFunctionID,
java.lang.String pLangTag,
java.util.SortedSet pPrevResponderSet,
java.util.List pScopeList)
pFunctionID - pLangTag - pPrevResponderSet - - set of address stringspScopeList - - list of scope stringspublic RequestMessage(MsgHeader pHeader, java.util.SortedSet pPrevResponderSet, java.util.List pScopeList)
pHeader - pPrevResponderSet - - set of address stringspScopeList - - list of scope stringspublic java.util.SortedSet getPrevResponderSet()
public java.util.Iterator getPrevRespondersItr()
public boolean updatePrevResponders(java.lang.String pResponder)
pResponder - public java.util.List getScopeList()
public boolean isAllowedResponseType(SLPMessage pRspMsg)
pRspMsg - public byte[] serializeWithoutResponders(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID)
throws ServiceLocationException
pSetMulticastFlag - pDatagramLimited - pKeepXID - ServiceLocationExceptionprotected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pSkipResponders) throws ServiceLocationException
serializeBody in class SLPMessageServiceLocationExceptionprotected abstract boolean serializeRequestBody(SLPOutputStream pOutStr) throws ServiceLocationException
ServiceLocationExceptionprotected abstract int[] getAllowedResponseIDs()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.