Table of Contents

Class AsynchronousServerSocketChannel

Namespace
Java.Nio.Channels
Assembly
MASES.JNet.dll
public class AsynchronousServerSocketChannel : JVMBridgeBase<AsynchronousServerSocketChannel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
AsynchronousServerSocketChannel
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AsynchronousServerSocketChannel>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AsynchronousServerSocketChannel>.IsAssignableFrom<T>()
JVMBridgeBase<AsynchronousServerSocketChannel>.Execute<T>(params T[])
JVMBridgeBase<AsynchronousServerSocketChannel>.DynBridgeClazz
JVMBridgeBase<AsynchronousServerSocketChannel>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AsynchronousServerSocketChannel()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("AsynchronousServerSocketChannel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AsynchronousServerSocketChannel()

AsynchronousServerSocketChannel(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("AsynchronousServerSocketChannel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AsynchronousServerSocketChannel(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LocalAddress

public SocketAddress LocalAddress { get; }

Property Value

SocketAddress

Methods

Accept()

public Future<AsynchronousSocketChannel> Accept()

Returns

Future<AsynchronousSocketChannel>

Future

Accept<A, Arg1objectSuperA>(A, CompletionHandler<AsynchronousSocketChannel, Arg1objectSuperA>)

public void Accept<A, Arg1objectSuperA>(A arg0, CompletionHandler<AsynchronousSocketChannel, Arg1objectSuperA> arg1) where Arg1objectSuperA : A

Parameters

arg0 A

A

arg1 CompletionHandler<AsynchronousSocketChannel, Arg1objectSuperA>

CompletionHandler

Type Parameters

A
Arg1objectSuperA

A

Bind(SocketAddress)

public NetworkChannel Bind(SocketAddress arg0)

Parameters

arg0 SocketAddress

SocketAddress

Returns

NetworkChannel

NetworkChannel

Exceptions

IOException

Bind(SocketAddress, int)

public AsynchronousServerSocketChannel Bind(SocketAddress arg0, int arg1)

Parameters

arg0 SocketAddress

SocketAddress

arg1 int

int

Returns

AsynchronousServerSocketChannel

AsynchronousServerSocketChannel

Exceptions

IOException

Open()

public static AsynchronousServerSocketChannel Open()

Returns

AsynchronousServerSocketChannel

AsynchronousServerSocketChannel

Exceptions

IOException

Open(AsynchronousChannelGroup)

public static AsynchronousServerSocketChannel Open(AsynchronousChannelGroup arg0)

Parameters

arg0 AsynchronousChannelGroup

AsynchronousChannelGroup

Returns

AsynchronousServerSocketChannel

AsynchronousServerSocketChannel

Exceptions

IOException

Provider()

public AsynchronousChannelProvider Provider()

Returns

AsynchronousChannelProvider

AsynchronousChannelProvider

SetOption(SocketOption, object)

public NetworkChannel SetOption(SocketOption arg0, object arg1)

Parameters

arg0 SocketOption

SocketOption

arg1 object

object

Returns

NetworkChannel

NetworkChannel

Exceptions

IOException

Operators

implicit operator AsynchronousChannel(AsynchronousServerSocketChannel)

public static implicit operator AsynchronousChannel(AsynchronousServerSocketChannel t)

Parameters

t AsynchronousServerSocketChannel

Returns

AsynchronousChannel

implicit operator NetworkChannel(AsynchronousServerSocketChannel)

public static implicit operator NetworkChannel(AsynchronousServerSocketChannel t)

Parameters

t AsynchronousServerSocketChannel

Returns

NetworkChannel