class java.nio.channels.DatagramChannel extends AbstractSelectableChannel implements ByteChannel implements ScatteringByteChannel implements GatheringByteChannel implements MulticastChannel

Available on java

Class Fields

static function open():DatagramChannel

static function open(param1:ProtocolFamily):DatagramChannel

Instance Fields

function getOption<T>(param1:SocketOption<T>):T

function isConnected():Bool

function read(param1:ByteBuffer):Int

function read(param1:NativeArray<ByteBuffer>):Int64

function read(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

function send(param1:ByteBuffer, param2:SocketAddress):Int

function setOption<T>(param1:SocketOption<T>, param2:T):DatagramChannel

function setOption(param1:SocketOption<Dynamic>, param2:Dynamic):NetworkChannel

function validOps():Int

function write(param1:ByteBuffer):Int

function write(param1:NativeArray<ByteBuffer>):Int64

function write(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64