Class DataDecoder

  • All Implemented Interfaces:
    javax.websocket.Decoder, javax.websocket.Decoder.Text<Messung>

    public class DataDecoder
    extends java.lang.Object
    implements javax.websocket.Decoder.Text<Messung>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.websocket.Decoder

        javax.websocket.Decoder.Binary<T extends java.lang.Object>, javax.websocket.Decoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Decoder.Text<T extends java.lang.Object>, javax.websocket.Decoder.TextStream<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      DataDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Messung decode​(java.lang.String messungData)  
      void destroy()  
      void init​(javax.websocket.EndpointConfig arg0)  
      boolean willDecode​(java.lang.String arg0)  
      • Methods inherited from class java.lang.Object

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

      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.websocket.Decoder
      • init

        public void init​(javax.websocket.EndpointConfig arg0)
        Specified by:
        init in interface javax.websocket.Decoder
      • decode

        public Messung decode​(java.lang.String messungData)
                       throws javax.websocket.DecodeException
        Specified by:
        decode in interface javax.websocket.Decoder.Text<Messung>
        Throws:
        javax.websocket.DecodeException
      • willDecode

        public boolean willDecode​(java.lang.String arg0)
        Specified by:
        willDecode in interface javax.websocket.Decoder.Text<Messung>