W3cubDocs

/Haxe Java

NetworkChannel

package java.nio.channels

extends ChannelCloseableAutoCloseable

extended by MulticastChannel

implemented by ServerSocketChannel, SocketChannel

@:abstract@:libType@:javaNative@:native("java.nio.channels.NetworkChannel")@:javaCanonical("java.nio.channels","NetworkChannel") Available on java

Methods

@:overload @:throws("java.io.IOException") bind (param1:SocketAddress):NetworkChannel

@:overload @:throws("java.lang.Exception") close ():Void

@:overload @:throws("java.io.IOException") getLocalAddress ():SocketAddress

@:overload @:throws("java.io.IOException") getOption<T> (param1:SocketOption<T>):T

@:overload isOpen ():Bool

@:overload @:throws("java.io.IOException") setOption<T> (param1:SocketOption<T>, param2:T ):NetworkChannel

@:overload supportedOptions ():Set<SocketOption<Dynamic>>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/NetworkChannel.html