Class SignalRServiceClientConnectionDisconnectedEventData


  • public final class SignalRServiceClientConnectionDisconnectedEventData
    extends Object
    Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.
    • Constructor Detail

      • SignalRServiceClientConnectionDisconnectedEventData

        public SignalRServiceClientConnectionDisconnectedEventData()
    • Method Detail

      • getTimestamp

        public OffsetDateTime getTimestamp()
        Get the timestamp property: The time at which the event occurred.
        Returns:
        the timestamp value.
      • getHubName

        public String getHubName()
        Get the hubName property: The hub of connected client connection.
        Returns:
        the hubName value.
      • setHubName

        public SignalRServiceClientConnectionDisconnectedEventData setHubName​(String hubName)
        Set the hubName property: The hub of connected client connection.
        Parameters:
        hubName - the hubName value to set.
        Returns:
        the SignalRServiceClientConnectionDisconnectedEventData object itself.
      • getConnectionId

        public String getConnectionId()
        Get the connectionId property: The connection Id of connected client connection.
        Returns:
        the connectionId value.
      • setConnectionId

        public SignalRServiceClientConnectionDisconnectedEventData setConnectionId​(String connectionId)
        Set the connectionId property: The connection Id of connected client connection.
        Parameters:
        connectionId - the connectionId value to set.
        Returns:
        the SignalRServiceClientConnectionDisconnectedEventData object itself.
      • getUserId

        public String getUserId()
        Get the userId property: The user Id of connected client connection.
        Returns:
        the userId value.
      • setUserId

        public SignalRServiceClientConnectionDisconnectedEventData setUserId​(String userId)
        Set the userId property: The user Id of connected client connection.
        Parameters:
        userId - the userId value to set.
        Returns:
        the SignalRServiceClientConnectionDisconnectedEventData object itself.
      • getErrorMessage

        public String getErrorMessage()
        Get the errorMessage property: The message of error that cause the client connection disconnected.
        Returns:
        the errorMessage value.
      • setErrorMessage

        public SignalRServiceClientConnectionDisconnectedEventData setErrorMessage​(String errorMessage)
        Set the errorMessage property: The message of error that cause the client connection disconnected.
        Parameters:
        errorMessage - the errorMessage value to set.
        Returns:
        the SignalRServiceClientConnectionDisconnectedEventData object itself.