Class SampleSetCodec

  • All Implemented Interfaces:
    com.inductiveautomation.metro.api.MessageCodec

    public class SampleSetCodec
    extends java.lang.Object
    implements com.inductiveautomation.metro.api.MessageCodec
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.log4j.Logger logger  
    • Constructor Summary

      Constructors 
      Constructor Description
      SampleSetCodec()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object decode​(java.io.InputStream inputStream)  
      java.io.InputStream encode​(java.lang.Object data)  
      java.lang.String getId()  
      • Methods inherited from class java.lang.Object

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

      • logger

        protected static final org.apache.log4j.Logger logger
    • Constructor Detail

      • SampleSetCodec

        public SampleSetCodec()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface com.inductiveautomation.metro.api.MessageCodec
      • encode

        public java.io.InputStream encode​(java.lang.Object data)
                                   throws java.lang.Exception
        Specified by:
        encode in interface com.inductiveautomation.metro.api.MessageCodec
        Throws:
        java.lang.Exception
      • decode

        public java.lang.Object decode​(java.io.InputStream inputStream)
                                throws java.lang.Exception
        Specified by:
        decode in interface com.inductiveautomation.metro.api.MessageCodec
        Throws:
        java.lang.Exception