-
- All Implemented Interfaces:
-
io.ably.lib.objects.ObjectsAdapter
public class Adapter implements ObjectsAdapter
-
-
Constructor Summary
Constructors Constructor Description Adapter(AblyRealtime ably)
-
Method Summary
Modifier and Type Method Description 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. 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. longgetTime()Retrieves the current time in milliseconds from the Ably server. ChannelBasegetChannel(@NotNull() String channelName)Retrieves the channel instance for the specified channel name.If the channel does not exist, an AblyException is thrown. -
-
Constructor Detail
-
Adapter
Adapter(AblyRealtime ably)
-
-
Method Detail
-
getClientOptions
@NotNull() 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() 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
long getTime()
Retrieves the current time in milliseconds from the Ably server.Spec: RTO16
-
getChannel
@NotNull() 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
-
-
-
-