package java.nio.channels
extends AbstractSelectableChannel › SelectableChannel › AbstractInterruptibleChannel
implements ByteChannel, ScatteringByteChannel, GatheringByteChannel, NetworkChannel
Available on java bind (param1:SocketAddress):SocketChannel connect (param1:SocketAddress):Bool finishConnect ():Bool getLocalAddress ():SocketAddress getOption<T> (param1:SocketOption<T>):T getRemoteAddress ():SocketAddress isConnected ():Bool isConnectionPending ():Bool read (param1:NativeArray<ByteBuffer>):Int64 read (param1:ByteBuffer):Int read (param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64 setOption (param1:SocketOption<Dynamic>, param2:Dynamic):NetworkChannel setOption<T> (param1:SocketOption<T>, param2:T ):SocketChannel shutdownInput ():SocketChannel shutdownOutput ():SocketChannel socket ():Socket 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:SocketAddress):SocketChannel static open ():SocketChannel
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/SocketChannel.html