-
public interface ObjectsAdapter
-
-
Method Summary
Modifier and Type Method Description abstract ClientOptionsgetClientOptions()Retrieves the client options configured for the Ably client.Used to access client configuration parameters such as echoMessages settingthat affect the behavior of Objects operations. abstract ConnectionManagergetConnectionManager()Retrieves the connection manager for handling connection state and operations.Used to check connection status, obtain error information, and managemessage transmission across the Ably connection. abstract longgetTime()Retrieves the current time in milliseconds from the Ably server. abstract ChannelBasegetChannel(@NotNull() String channelName)Retrieves the channel instance for the specified channel name.If the channel does not exist, an AblyException is thrown. -
-
Method Detail
-
getClientOptions
@NotNull() abstract ClientOptions getClientOptions()
Retrieves the client options configured for the Ably client.Used to access client configuration parameters such as echoMessages settingthat affect the behavior of Objects operations.
-
getConnectionManager
@NotNull() abstract ConnectionManager getConnectionManager()
Retrieves the connection manager for handling connection state and operations.Used to check connection status, obtain error information, and managemessage transmission across the Ably connection.
-
getTime
@Blocking() abstract long getTime()
Retrieves the current time in milliseconds from the Ably server.Spec: RTO16
-
getChannel
@NotNull() abstract ChannelBase getChannel(@NotNull() String channelName)
Retrieves the channel instance for the specified channel name.If the channel does not exist, an AblyException is thrown.
- Parameters:
channelName- the name of the channel to retrieve
-
-
-
-