Class DrawEndpoint


  • public class DrawEndpoint
    extends java.lang.Object
    Endpoint which broadcasts incoming events to all connected peers.
    Author:
    Danny Coward, Pavel Bucek
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawEndpoint()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onClose​(jakarta.websocket.Session session)  
      void onOpen​(jakarta.websocket.Session session)  
      void shapeCreated​(java.lang.String message, jakarta.websocket.Session client)  
      • Methods inherited from class java.lang.Object

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

      • DrawEndpoint

        public DrawEndpoint()
    • Method Detail

      • onOpen

        public void onOpen​(jakarta.websocket.Session session)
      • onClose

        public void onClose​(jakarta.websocket.Session session)
      • shapeCreated

        public void shapeCreated​(java.lang.String message,
                                 jakarta.websocket.Session client)
                          throws java.io.IOException,
                                 jakarta.websocket.EncodeException
        Throws:
        java.io.IOException
        jakarta.websocket.EncodeException