Class FHIRNotificationServiceEndpoint


  • public class FHIRNotificationServiceEndpoint
    extends javax.websocket.Endpoint
    This class serves as our websocket "endpoint".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onClose​(javax.websocket.Session session, javax.websocket.CloseReason closeReason)
      process message which is trying to disconnect
      java.lang.String onMessage​(java.lang.String message, javax.websocket.Session session)
      Process incoming message
      void onOpen​(javax.websocket.Session session, javax.websocket.EndpointConfig config)
      To process new end point client
      • Methods inherited from class javax.websocket.Endpoint

        onError
      • Methods inherited from class java.lang.Object

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

      • FHIRNotificationServiceEndpoint

        public FHIRNotificationServiceEndpoint()
    • Method Detail

      • onOpen

        public void onOpen​(javax.websocket.Session session,
                           javax.websocket.EndpointConfig config)
        To process new end point client
        Specified by:
        onOpen in class javax.websocket.Endpoint
        Parameters:
        session -
      • onMessage

        public java.lang.String onMessage​(java.lang.String message,
                                          javax.websocket.Session session)
        Process incoming message
        Parameters:
        message -
        session -
        Returns:
      • onClose

        public void onClose​(javax.websocket.Session session,
                            javax.websocket.CloseReason closeReason)
        process message which is trying to disconnect
        Overrides:
        onClose in class javax.websocket.Endpoint
        Parameters:
        session -
        closeReason -