Class DataEncoder

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

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

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

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

      Constructors 
      Constructor Description
      DataEncoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      java.lang.String encode​(Messung messung)  
      void init​(javax.websocket.EndpointConfig 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.Encoder
      • init

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

        public java.lang.String encode​(Messung messung)
                                throws javax.websocket.EncodeException
        Specified by:
        encode in interface javax.websocket.Encoder.Text<Messung>
        Throws:
        javax.websocket.EncodeException