Class SignalRServiceClientConnectionConnectedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.SignalRServiceClientConnectionConnectedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SignalRServiceClientConnectionConnectedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionId property: The connection Id of connected client connection.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.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
-
SignalRServiceClientConnectionConnectedEventData
public SignalRServiceClientConnectionConnectedEventData()Creates an instance of SignalRServiceClientConnectionConnectedEventData class.
-
-
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 SignalRServiceClientConnectionConnectedEventData 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 SignalRServiceClientConnectionConnectedEventData 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 SignalRServiceClientConnectionConnectedEventData 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 SignalRServiceClientConnectionConnectedEventData object itself.
-