Class ServerPushEndPoint

java.lang.Object
org.idempiere.ui.zk.websocket.ServerPushEndPoint

public class ServerPushEndPoint extends Object
web socket end point for server push
Author:
hengsin
  • Constructor Details

    • ServerPushEndPoint

      public ServerPushEndPoint()
      default constructor
  • Method Details

    • onClose

      public void onClose(javax.websocket.Session sess) throws IOException
      Throws:
      IOException
    • onOpen

      public void onOpen(javax.websocket.Session sess, String dtid) throws IOException
      Throws:
      IOException
    • onError

      public void onError(javax.websocket.Session sess, Throwable throwable)
    • onMessage

      public void onMessage(javax.websocket.Session session, String message)
      Handle ping from client
      Parameters:
      session -
      message -
    • echo

      public void echo()
      Message client to send echo event to server