Class SessionWebSocket

  • All Implemented Interfaces:
    java.io.Serializable

    @ApplicationScoped
    public class SessionWebSocket
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(javax.websocket.Session remoteUser)  
      boolean remove​(javax.websocket.Session session)  
      void send​(java.lang.String message)  
      void send​(javax.websocket.Session sessionFrom, java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • SessionWebSocket

        public SessionWebSocket()
    • Method Detail

      • add

        public boolean add​(javax.websocket.Session remoteUser)
      • send

        public void send​(java.lang.String message)
      • send

        public void send​(javax.websocket.Session sessionFrom,
                         java.lang.String message)
      • remove

        public boolean remove​(javax.websocket.Session session)