Class PolyBoundDecoderImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object decode​(deltix.util.memory.MemoryDataInput in)
      Decodes an object, starting at current position of the specified MemoryDataInput.
      void decode​(deltix.util.memory.MemoryDataInput in, java.lang.Object message)
      Decodes an object, starting at current position of the specified MemoryDataInput.
      protected BoundDecoder getDecoder​(int code)  
      void setStaticFields​(java.lang.Object message)
      Sets static values into specified message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PolyBoundDecoderImpl

        public PolyBoundDecoderImpl​(BoundDecoder[] decoders)
    • Method Detail

      • getDecoder

        protected final BoundDecoder getDecoder​(int code)
      • decode

        public java.lang.Object decode​(deltix.util.memory.MemoryDataInput in)
        Description copied from interface: BoundDecoder
        Decodes an object, starting at current position of the specified MemoryDataInput.
        Specified by:
        decode in interface BoundDecoder
        Parameters:
        in - A MemoryDataInput to read.
        Returns:
        A decoded message object.
      • decode

        public void decode​(deltix.util.memory.MemoryDataInput in,
                           java.lang.Object message)
        Description copied from interface: BoundExternalDecoder
        Decodes an object, starting at current position of the specified MemoryDataInput.
        Specified by:
        decode in interface BoundExternalDecoder
        Parameters:
        in - A MemoryDataInput to read.
        message - A message object to decode into.
      • setStaticFields

        public void setStaticFields​(java.lang.Object message)
        Description copied from interface: BoundExternalDecoder
        Sets static values into specified message.
        Specified by:
        setStaticFields in interface BoundExternalDecoder
        Parameters:
        message - A message object to update.