HaxeAPI
  • Version development @ b6b8925
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.6
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact

class DatagramChannel

package java.nio.channels

extends AbstractSelectableChannel › SelectableChannel › AbstractInterruptibleChannel

implements ByteChannel, ScatteringByteChannel, GatheringByteChannel, MulticastChannel

@:native("java.nio.channels.DatagramChannel")@:libType

Available on jvm

Static methods

staticopen():DatagramChannel

staticopen(param1:ProtocolFamily):DatagramChannel

Constructor

new(param1:SelectorProvider)

Methods

bind(param1:SocketAddress):DatagramChannel

connect(param1:SocketAddress):DatagramChannel

disconnect():DatagramChannel

getLocalAddress():SocketAddress

getRemoteAddress():SocketAddress

isConnected():Bool

read(param1:ByteBuffer):Int

finalread(param1:NativeArray<ByteBuffer>):Int64

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

receive(param1:ByteBuffer):SocketAddress

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

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

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

socket():DatagramSocket

write(param1:ByteBuffer):Int

finalwrite(param1:NativeArray<ByteBuffer>):Int64

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

Inherited Variables

Defined by AbstractSelectableChannel

blocking:Bool

Inherited Methods

Defined by AbstractSelectableChannel

implCloseSelectableChannel():Void

implConfigureBlocking(param1:Bool):Void

removeKey(param1:SelectionKey):Void

Defined by SelectableChannel

register(param1:Selector, param2:Int, param3:Dynamic):SelectionKey

finalregister(param1:Selector, param2:Int):SelectionKey

Defined by AbstractInterruptibleChannel

finalbegin():Void

finalclose():Void

finalend(param1:Bool):Void

finalisOpen():Bool

This documentation is generated for version development @ b6b8925

© 2024  Haxe Foundation | Contribute to Haxe