Package 

Class Adapter

  • All Implemented Interfaces:
    io.ably.lib.objects.ObjectsAdapter

    
    public class Adapter
     implements ObjectsAdapter
                        
    • Method Summary

      Modifier and Type Method Description
      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.
      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.
      long getTime() Retrieves the current time in milliseconds from the Ably server.
      ChannelBase getChannel(@NotNull() String channelName) Retrieves the channel instance for the specified channel name.If the channel does not exist, an AblyException is thrown.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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