Class FHIRNotificationServiceEndpoint


  • public class FHIRNotificationServiceEndpoint
    extends javax.websocket.Endpoint
    This class serves as our websocket "endpoint".
    • 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 String onMessage​(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 -