package java.nio.channels
extends AbstractSelectableChannel › SelectableChannel › AbstractInterruptibleChannel
implements ByteChannel, ScatteringByteChannel, GatheringByteChannel, MulticastChannel
Available on javabind (param1:SocketAddress):DatagramChannel
connect (param1:SocketAddress):DatagramChannel
disconnect ():DatagramChannel
getLocalAddress ():SocketAddress
getOption<T> (param1:SocketOption<T>):T
getRemoteAddress ():SocketAddress
isConnected ():Bool
join (param1:InetAddress, param2:NetworkInterface):MembershipKey
join (param1:InetAddress, param2:NetworkInterface, param3:InetAddress):MembershipKey
read (param1:NativeArray<ByteBuffer>):Int64
read (param1:ByteBuffer):Int
read (param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64
receive (param1:ByteBuffer):SocketAddress
send (param1:ByteBuffer, param2:SocketAddress):Int
setOption (param1:SocketOption<Dynamic>, param2:Dynamic):NetworkChannel
setOption<T> (param1:SocketOption<T>, param2:T ):DatagramChannel
socket ():DatagramSocket
supportedOptions ():Set<SocketOption<Dynamic>>
write (param1:NativeArray<ByteBuffer>):Int64
write (param1:ByteBuffer):Int
write (param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64
static open (param1:ProtocolFamily):DatagramChannel
static open ():DatagramChannel
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/DatagramChannel.html