Class BindHandler


  • final class BindHandler
    extends java.lang.Object
    Helper class, providing common handling of bind() handling.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicBoolean bound  
    • Constructor Summary

      Constructors 
      Constructor Description
      BindHandler​(boolean initialState)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) UnixSocketAddress bind​(int fd, java.net.SocketAddress local)  
      (package private) boolean isBound()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bound

        private final java.util.concurrent.atomic.AtomicBoolean bound
    • Constructor Detail

      • BindHandler

        BindHandler​(boolean initialState)
    • Method Detail

      • isBound

        boolean isBound()
      • bind

        UnixSocketAddress bind​(int fd,
                               java.net.SocketAddress local)
                        throws java.io.IOException
        Throws:
        java.io.IOException