W3cubDocs

/Haxe Java

ServerSocketChannel

package java.nio.channels

extends AbstractSelectableChannelSelectableChannelAbstractInterruptibleChannel

implements NetworkChannel

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

Methods

@:overload @:throws("java.io.IOException") accept ():SocketChannel

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

@:overload @:throws("java.io.IOException") bind (param1:SocketAddress, param2:Int):ServerSocketChannel

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

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

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

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

@:overload socket ():ServerSocket

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

Static methods

@:overload @:throws("java.io.IOException") static open ():ServerSocketChannel

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