Package io.ably.lib.plugins
Interface PluginInstance
- All Known Subinterfaces:
LiveObjectsPlugin
public interface PluginInstance
The ProtocolMessageHandler interface defines a contract for handling protocol messages.
Implementations of this interface are responsible for processing incoming protocol messages
and performing the necessary actions based on the message content.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes of the plugin instance and all underlying resources.void
handle
(@NotNull ProtocolMessage message) Handles a protocol message.
-
Method Details
-
handle
Handles a protocol message. This method is invoked whenever a protocol message is received, allowing the implementation to process the message and take appropriate actions.- Parameters:
-
message
- the protocol message to handle.
-
dispose
void dispose()Disposes of the plugin instance and all underlying resources.
-