Interface RpcSocketPool.ShutdownHandler

Enclosing class:
RpcSocketPool

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

    Modifier and Type
    Method
    Description
    void
    shutdown(Socket socket)
    Callback for before the socket is closed to do any pre-close work.
  • Method Details

    • shutdown

      void shutdown(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