Class ExampleWebSockets

java.lang.Object
org.apache.ofbiz.example.ExampleWebSockets

public class ExampleWebSockets extends Object
  • Constructor Details

    • ExampleWebSockets

      public ExampleWebSockets()
  • Method Details

    • onMessage

      public void onMessage(javax.websocket.Session session, String msg, boolean last)
      On message.
      Parameters:
      session - the session
      msg - the msg
      last - the last
    • onOpen

      public void onOpen(javax.websocket.Session session)
      On open.
      Parameters:
      session - the session
    • onClose

      public void onClose(javax.websocket.Session session)
      On close.
      Parameters:
      session - the session
    • getClients

      public static Set<javax.websocket.Session> getClients()