org.sblim.slp.internal.msg

Class RequestMessage

public abstract class RequestMessage extends SLPMessage

RequestMessage
Constructor Summary
RequestMessage(int pFunctionID, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.
RequestMessage(int pFunctionID, String pLangTag, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.
RequestMessage(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.
Method Summary
protected abstract int[]getAllowedResponseIDs()
Iterator<String>getPrevRespondersItr()
getPrevRespondersItr
SortedSet<String>getPrevResponderSet()
getPrevResponderSet
List<String>getScopeList()
getScopeList
booleanisAllowedResponseType(SLPMessage pRspMsg)
isAllowedResponseType
protected abstract booleanserializeRequestBody(SLPOutputStream pOutStr)
byte[]serializeWithoutResponders(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID)
serializeWithoutResponders
booleanupdatePrevResponders(String pResponder)
updatePrevResponders

Constructor Detail

RequestMessage

public RequestMessage(int pFunctionID, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.

Parameters: pFunctionID pPrevResponderSet - set of address strings pScopeList - list of scope strings

RequestMessage

public RequestMessage(int pFunctionID, String pLangTag, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.

Parameters: pFunctionID pLangTag pPrevResponderSet - set of address strings pScopeList - list of scope strings

RequestMessage

public RequestMessage(MsgHeader pHeader, SortedSet<String> pPrevResponderSet, List<String> pScopeList)
Ctor.

Parameters: pHeader pPrevResponderSet - set of address strings pScopeList - list of scope strings

Method Detail

getAllowedResponseIDs

protected abstract int[] getAllowedResponseIDs()

getPrevRespondersItr

public Iterator<String> getPrevRespondersItr()
getPrevRespondersItr

Returns: Iterator

getPrevResponderSet

public SortedSet<String> getPrevResponderSet()
getPrevResponderSet

Returns: SortedSet

getScopeList

public List<String> getScopeList()
getScopeList

Returns: List of scope strings

isAllowedResponseType

public boolean isAllowedResponseType(SLPMessage pRspMsg)
isAllowedResponseType

Parameters: pRspMsg

Returns: boolean

serializeRequestBody

protected abstract boolean serializeRequestBody(SLPOutputStream pOutStr)

serializeWithoutResponders

public byte[] serializeWithoutResponders(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID)
serializeWithoutResponders

Parameters: pSetMulticastFlag pDatagramLimited pKeepXID

Returns: byte[]

Throws: ServiceLocationException

updatePrevResponders

public boolean updatePrevResponders(String pResponder)
updatePrevResponders

Parameters: pResponder

Returns: boolean

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