Interface SocketIOService


  • @ProviderType
    public interface SocketIOService
    The socket.io service is the entry point to interact with socket.io and is registered as OSGi service.
    • Method Detail

      • getNamespaces

        @Nonnull
        java.util.Map<java.lang.String,​SocketIONamespace> getNamespaces()
        Returns a map of all used namespaces.
        Returns:
        namespaces map.
      • register

        void register​(@Nonnull
                      SocketIOListener listener)
        Registers a socket.io listener.
        Parameters:
        listener - listener to register
      • unregister

        void unregister​(@Nonnull
                        SocketIOListener listener)
        Unregisters a socket.io listener
        Parameters:
        listener - listener to unregister.