Interface ClientEvent

All Superinterfaces:
JsonType
All Known Implementing Classes:
ConnectEvent, DisconnectEvent

public interface ClientEvent extends JsonType
Base interface for client lifecycle events such as ConnectEvent and DisconnectEvent.

These events are published by the Flux platform to notify connected systems about client activity, such as when a client connects to or disconnects from the platform.

These messages are typically published to the metrics log and can be used for auditing, monitoring, or debugging distributed application behavior.

See Also:
  • Method Details

    • getClient

      String getClient()
      Returns:
      the client name (application-level identifier, e.g. "frontend-service")
    • getClientId

      String getClientId()
      Returns:
      the unique instance ID of the connecting client (e.g. "frontend-service@abcd1234")
    • getTimestamp

      long getTimestamp()
      Returns:
      the timestamp at which this event occurred (in epoch milliseconds)