Class FrameProtocol


  • public class FrameProtocol
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameProtocol()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] close​(int code, java.lang.String reason)  
      byte[] ping​(byte[] payload)  
      byte[] pong​(byte[] payload)  
      byte[] sendBinary​(byte[] payload)  
      byte[] sendText​(byte[] payload)  
      • Methods inherited from class java.lang.Object

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

      • FrameProtocol

        public FrameProtocol()
    • Method Detail

      • sendBinary

        public byte[] sendBinary​(byte[] payload)
      • sendText

        public byte[] sendText​(byte[] payload)