com.sun.grizzly.test.cachetest.testobjects
Class SelectionKeyOP

java.lang.Object
  extended by com.sun.grizzly.test.cachetest.testobjects.SelectionKeyOP
Direct Known Subclasses:
SelectionKeyOP.ConnectSelectionKeyOP

public class SelectionKeyOP
extends Object

copy pasted from com.sun.grizzly so we could add public constructors without changing the class in trunk.

Author:
Alexey Stashok

Nested Class Summary
static class SelectionKeyOP.ConnectSelectionKeyOP
           
 
Constructor Summary
SelectionKeyOP(int op)
           
 
Method Summary
static SelectionKeyOP aquireSelectionKeyOP(int op)
           
 SelectableChannel getChannel()
           
 int getOp()
           
 SelectionKey getSelectionKey()
           
 void recycle()
           
static void releaseSelectionKeyOP(SelectionKeyOP operation)
           
 void setChannel(SelectableChannel channel)
           
 void setOp(int op)
           
 void setSelectionKey(SelectionKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionKeyOP

public SelectionKeyOP(int op)
Method Detail

aquireSelectionKeyOP

public static SelectionKeyOP aquireSelectionKeyOP(int op)

releaseSelectionKeyOP

public static void releaseSelectionKeyOP(SelectionKeyOP operation)

getOp

public int getOp()

setOp

public void setOp(int op)

getSelectionKey

public SelectionKey getSelectionKey()

setSelectionKey

public void setSelectionKey(SelectionKey key)

getChannel

public SelectableChannel getChannel()

setChannel

public void setChannel(SelectableChannel channel)

recycle

public void recycle()


Copyright © 2012 Oracle Corporation. All Rights Reserved.