Table of Contents

Class SelectionKey

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

SelectionKey()

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

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

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

OP_ACCEPT

public static int OP_ACCEPT { get; }

Property Value

int

OP_CONNECT

public static int OP_CONNECT { get; }

Property Value

int

OP_READ

public static int OP_READ { get; }

Property Value

int

OP_WRITE

public static int OP_WRITE { get; }

Property Value

int

Methods

Attach(object)

public object Attach(object arg0)

Parameters

arg0 object

object

Returns

object

object

Attachment()

public object Attachment()

Returns

object

object

Cancel()

public void Cancel()

Channel()

public SelectableChannel Channel()

Returns

SelectableChannel

SelectableChannel

InterestOps()

public int InterestOps()

Returns

int

int

InterestOps(int)

public SelectionKey InterestOps(int arg0)

Parameters

arg0 int

int

Returns

SelectionKey

SelectionKey

InterestOpsAnd(int)

public int InterestOpsAnd(int arg0)

Parameters

arg0 int

int

Returns

int

int

InterestOpsOr(int)

public int InterestOpsOr(int arg0)

Parameters

arg0 int

int

Returns

int

int

IsAcceptable()

public bool IsAcceptable()

Returns

bool

bool

IsConnectable()

public bool IsConnectable()

Returns

bool

bool

IsReadable()

public bool IsReadable()

Returns

bool

bool

IsValid()

public bool IsValid()

Returns

bool

bool

IsWritable()

public bool IsWritable()

Returns

bool

bool

ReadyOps()

public int ReadyOps()

Returns

int

int

Selector()

public Selector Selector()

Returns

Selector

Selector