Table of Contents

Class SelectableChannel

Namespace
Java.Nio.Channels
Assembly
MASES.JNet.dll
public class SelectableChannel : AbstractInterruptibleChannel, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
SelectableChannel
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<AbstractInterruptibleChannel>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AbstractInterruptibleChannel>.IsAssignableFrom<T>()
JVMBridgeBase<AbstractInterruptibleChannel>.Execute<T>(params T[])
JVMBridgeBase<AbstractInterruptibleChannel>.DynBridgeClazz
JVMBridgeBase<AbstractInterruptibleChannel>.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

SelectableChannel()

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

[Obsolete("SelectableChannel 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 SelectableChannel()

SelectableChannel(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("SelectableChannel 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 SelectableChannel(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

Methods

BlockingLock()

public object BlockingLock()

Returns

object

object

ConfigureBlocking(bool)

public SelectableChannel ConfigureBlocking(bool arg0)

Parameters

arg0 bool

bool

Returns

SelectableChannel

SelectableChannel

Exceptions

IOException

IsBlocking()

public bool IsBlocking()

Returns

bool

bool

IsRegistered()

public bool IsRegistered()

Returns

bool

bool

KeyFor(Selector)

public SelectionKey KeyFor(Selector arg0)

Parameters

arg0 Selector

Selector

Returns

SelectionKey

SelectionKey

Provider()

public SelectorProvider Provider()

Returns

SelectorProvider

SelectorProvider

Register(Selector, int)

public SelectionKey Register(Selector arg0, int arg1)

Parameters

arg0 Selector

Selector

arg1 int

int

Returns

SelectionKey

SelectionKey

Exceptions

ClosedChannelException

Register(Selector, int, object)

public SelectionKey Register(Selector arg0, int arg1, object arg2)

Parameters

arg0 Selector

Selector

arg1 int

int

arg2 object

object

Returns

SelectionKey

SelectionKey

Exceptions

ClosedChannelException

ValidOps()

public int ValidOps()

Returns

int

int