org.apache.activemq.transport.nio
Class SelectorSelection

java.lang.Object
  extended by org.apache.activemq.transport.nio.SelectorSelection

public final class SelectorSelection
extends Object

Author:
chirino

Constructor Summary
SelectorSelection(SelectorWorker worker, SocketChannel socketChannel, SelectorManager.Listener listener)
           
 
Method Summary
 void close()
           
 void disable()
           
 void enable()
           
 void onError(Throwable e)
           
 void onSelect()
           
 void setInterestOps(int ops)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectorSelection

public SelectorSelection(SelectorWorker worker,
                         SocketChannel socketChannel,
                         SelectorManager.Listener listener)
                  throws ClosedChannelException
Throws:
ClosedChannelException
Method Detail

setInterestOps

public void setInterestOps(int ops)

enable

public void enable()

disable

public void disable()

close

public void close()

onSelect

public void onSelect()

onError

public void onError(Throwable e)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.