Class SignalRServiceClientConnectionDisconnectedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.SignalRServiceClientConnectionDisconnectedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionId property: The connection Id of connected client connection.Get the errorMessage property: The message of error that cause the client connection disconnected.Get the hubName property: The hub of connected client connection.Get the timestamp property: The time at which the event occurred.Get the userId property: The user Id of connected client connection.setConnectionId
(String connectionId) Set the connectionId property: The connection Id of connected client connection.setErrorMessage
(String errorMessage) Set the errorMessage property: The message of error that cause the client connection disconnected.setHubName
(String hubName) Set the hubName property: The hub of connected client connection.setTimestamp
(OffsetDateTime timestamp) Set the timestamp property: The time at which the event occurred.Set the userId property: The user Id of connected client connection.
-
Constructor Details
-
SignalRServiceClientConnectionDisconnectedEventData
public SignalRServiceClientConnectionDisconnectedEventData()
-
-
Method Details
-
getTimestamp
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
setTimestamp
Set the timestamp property: The time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getHubName
Get the hubName property: The hub of connected client connection.- Returns:
- the hubName value.
-
setHubName
Set the hubName property: The hub of connected client connection.- Parameters:
hubName
- the hubName value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getConnectionId
Get the connectionId property: The connection Id of connected client connection.- Returns:
- the connectionId value.
-
setConnectionId
Set the connectionId property: The connection Id of connected client connection.- Parameters:
connectionId
- the connectionId value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getUserId
Get the userId property: The user Id of connected client connection.- Returns:
- the userId value.
-
setUserId
Set the userId property: The user Id of connected client connection.- Parameters:
userId
- the userId value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getErrorMessage
Get the errorMessage property: The message of error that cause the client connection disconnected.- Returns:
- the errorMessage value.
-
setErrorMessage
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.
-