Interface EZSocketServerDelegate


  • public interface EZSocketServerDelegate
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void serverDidReceiveConnection​(@NotNull EZSocketServer server, @NotNull EZSocket socket)
      server:didReceiveConnection: will be invoked from the thread from which start: is called on the server instance, unless the EZSocketServerAcceptUndetached is set, in which case a separate thread is detached and this method will be called from that thread.
    • Method Detail

      • serverDidReceiveConnection

        void serverDidReceiveConnection​(@NotNull
                                        @NotNull EZSocketServer server,
                                        @NotNull
                                        @NotNull EZSocket socket)
        server:didReceiveConnection: will be invoked from the thread from which start: is called on the server instance, unless the EZSocketServerAcceptUndetached is set, in which case a separate thread is detached and this method will be called from that thread.