Interface RpcSocketPool.ShutdownHandler

  • Enclosing class:
    RpcSocketPool

    public static interface RpcSocketPool.ShutdownHandler
    Shutdown handler for cleaning up before a socket is closed
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void shutdown​(java.net.Socket socket)
      Callback for before the socket is closed to do any pre-close work.
    • Method Detail

      • shutdown

        void shutdown​(java.net.Socket socket)
        Callback for before the socket is closed to do any pre-close work. Implementors should not directly close the socket parameter.
        Parameters:
        socket - socket