Package akka.io

Class Inet.DatagramChannelCreator

  • All Implemented Interfaces:
    Inet.SocketOption
    Enclosing class:
    Inet

    public static class Inet.DatagramChannelCreator
    extends java.lang.Object
    implements Inet.SocketOption
    DatagramChannel creation behavior.
    • Constructor Detail

      • DatagramChannelCreator

        public DatagramChannelCreator()
    • Method Detail

      • create

        public java.nio.channels.DatagramChannel create()
                                                 throws java.lang.Exception
        Open and return new DatagramChannel.

        throws is needed because DatagramChannel.open method can throw an exception.

        Throws:
        java.lang.Exception