Class KJSWSSession

java.lang.Object
dev.latvian.apps.tinyserver.ws.WSSession<KJSHTTPRequest>
dev.latvian.mods.kubejs.web.KJSWSSession
All Implemented Interfaces:
dev.latvian.apps.tinyserver.http.HTTPUpgrade<KJSHTTPRequest>
Direct Known Subclasses:
ConsoleWSSession

public class KJSWSSession extends dev.latvian.apps.tinyserver.ws.WSSession<KJSHTTPRequest>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(String type, com.google.gson.JsonElement payload)
     
    void
     

    Methods inherited from class dev.latvian.apps.tinyserver.ws.WSSession

    close, id, isClosed, onBinaryMessage, onClose, onError, onOpen, onPing, onPong, protocol, send, sendBinary, sendPing, sendText, start

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • KJSWSSession

      public KJSWSSession()
  • Method Details

    • onTextMessage

      public void onTextMessage(String message)
      Overrides:
      onTextMessage in class dev.latvian.apps.tinyserver.ws.WSSession<KJSHTTPRequest>
    • onEvent

      public void onEvent(String type, com.google.gson.JsonElement payload)