Interface InvalidWebsocketAddrListener


public interface InvalidWebsocketAddrListener
Interface to be notified when a given websocket address is no longer valid. This is typically used to cleanup resources associated with the address, such as removing subscriptions or any other process that may try to send data to this address.
Since:
1.0
Version:
2024-12-05
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a websocket address is no longer reachable.
  • Method Details

    • onInvalidAddr

      void onInvalidAddr(String addr)
      Called when a websocket address is no longer reachable. This may be a result of a network partition or the device being removed from the network. Any resources associated with this address should be released.
      Parameters:
      addr - the address that is no longer valid