Class RequestMessage

    • Constructor Detail

      • RequestMessage

        public RequestMessage​(int pFunctionID,
                              java.util.SortedSet pPrevResponderSet,
                              java.util.List pScopeList)
        Ctor.
        Parameters:
        pFunctionID -
        pPrevResponderSet - - set of address strings
        pScopeList - - list of scope strings
      • RequestMessage

        public RequestMessage​(int pFunctionID,
                              java.lang.String pLangTag,
                              java.util.SortedSet pPrevResponderSet,
                              java.util.List pScopeList)
        Ctor.
        Parameters:
        pFunctionID -
        pLangTag -
        pPrevResponderSet - - set of address strings
        pScopeList - - list of scope strings
      • RequestMessage

        public RequestMessage​(MsgHeader pHeader,
                              java.util.SortedSet pPrevResponderSet,
                              java.util.List pScopeList)
        Ctor.
        Parameters:
        pHeader -
        pPrevResponderSet - - set of address strings
        pScopeList - - list of scope strings
    • Method Detail

      • getPrevResponderSet

        public java.util.SortedSet getPrevResponderSet()
        getPrevResponderSet
        Returns:
        SortedSet
      • getPrevRespondersItr

        public java.util.Iterator getPrevRespondersItr()
        getPrevRespondersItr
        Returns:
        Iterator
      • updatePrevResponders

        public boolean updatePrevResponders​(java.lang.String pResponder)
        updatePrevResponders
        Parameters:
        pResponder -
        Returns:
        boolean
      • getScopeList

        public java.util.List getScopeList()
        getScopeList
        Returns:
        List of scope strings
      • isAllowedResponseType

        public boolean isAllowedResponseType​(SLPMessage pRspMsg)
        isAllowedResponseType
        Parameters:
        pRspMsg -
        Returns:
        boolean
      • serializeWithoutResponders

        public byte[] serializeWithoutResponders​(boolean pSetMulticastFlag,
                                                 boolean pDatagramLimited,
                                                 boolean pKeepXID)
                                          throws ServiceLocationException
        serializeWithoutResponders
        Parameters:
        pSetMulticastFlag -
        pDatagramLimited -
        pKeepXID -
        Returns:
        byte[]
        Throws:
        ServiceLocationException
      • getAllowedResponseIDs

        protected abstract int[] getAllowedResponseIDs()