AbstractProtected_ProtectedeventAbstract ReadonlyidUnique identifier for this adapter type.
ProtectedmessageAbstract ReadonlynameHuman-readable name for logging.
Current connection state.
AbstractconnectInitialize the adapter and establish connection.
Promise that resolves when connected or rejects on failure.
AbstractdisconnectDisconnect and clean up resources.
ProtecteddispatchProtectedemitEmit an error event.
AbstractisCheck if the adapter is available in the current environment.
True if the adapter can be used.
Register event listeners.
Event handlers to register.
Register a callback for incoming messages.
Function to call when message is received.
Unsubscribe function.
AbstractsendSend a message to the native layer.
The message to send.
True if message was sent successfully.
Protectedset
Base class with common functionality for messaging adapters.