Class SLPMessage

    • Constructor Detail

      • SLPMessage

        public SLPMessage​(int pFunctionID)
        Ctor.
        Parameters:
        pFunctionID -
      • SLPMessage

        public SLPMessage​(int pFunctionID,
                          java.lang.String pLangTag)
        Ctor.
        Parameters:
        pFunctionID -
        pLangTag -
      • SLPMessage

        public SLPMessage​(MsgHeader pHeader)
        Ctor. used by message parser.
        Parameters:
        pHeader -
    • Method Detail

      • getHeader

        public MsgHeader getHeader()
        getHeader
        Returns:
        MsgHeader
      • getVersion

        public int getVersion()
        getVersion
        Returns:
        int
      • getFunctionID

        public int getFunctionID()
        getFunctionID
        Returns:
        int
      • getLangTag

        public java.lang.String getLangTag()
        getLangTag
        Returns:
        String
      • overflows

        public boolean overflows()
        overflows
        Returns:
        boolean
      • fresh

        public boolean fresh()
        fresh
        Returns:
        boolean
      • multicast

        public boolean multicast()
        multicast
        Returns:
        boolean
      • getXID

        public int getXID()
        getXID
        Returns:
        int
      • serialize

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

        public byte[] serialize​(boolean pSetMulticastFlag,
                                boolean pDatagramLimited,
                                boolean pKeepXID,
                                SerializeOption pOption)
                         throws ServiceLocationException
        serialize
        Parameters:
        pSetMulticastFlag -
        pDatagramLimited -
        pKeepXID -
        pOption - - passed to the serializeBody() method of the inherited classes
        Returns:
        byte[]
        Throws:
        ServiceLocationException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object