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 SocketChannel

package java.nio.channels

extends AbstractSelectableChannel › SelectableChannel › AbstractInterruptibleChannel

implements ByteChannel, ScatteringByteChannel, GatheringByteChannel, NetworkChannel

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

Available on jvm

Static methods

staticopen():SocketChannel

staticopen(param1:SocketAddress):SocketChannel

Constructor

new(param1:SelectorProvider)

Methods

bind(param1:SocketAddress):SocketChannel

connect(param1:SocketAddress):Bool

finishConnect():Bool

getLocalAddress():SocketAddress

getRemoteAddress():SocketAddress

isConnected():Bool

isConnectionPending():Bool

read(param1:ByteBuffer):Int

finalread(param1:NativeArray<ByteBuffer>):Int64

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

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

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

shutdownInput():SocketChannel

shutdownOutput():SocketChannel

socket():Socket

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