Class SimpleLifeEndpoint


  • public class SimpleLifeEndpoint
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bye​(jakarta.websocket.Session remote)  
      void handleMessage​(java.lang.String message, jakarta.websocket.Session session)  
      void hi​(jakarta.websocket.Session remote)  
      • Methods inherited from class java.lang.Object

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

      • SimpleLifeEndpoint

        public SimpleLifeEndpoint()
    • Method Detail

      • hi

        public void hi​(jakarta.websocket.Session remote)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • handleMessage

        public void handleMessage​(java.lang.String message,
                                  jakarta.websocket.Session session)
      • bye

        public void bye​(jakarta.websocket.Session remote)