org.apache.cassandra.net
Class TcpConnectionHandler

java.lang.Object
  extended by org.apache.cassandra.net.SelectionKeyHandler
      extended by org.apache.cassandra.net.TcpConnectionHandler

public class TcpConnectionHandler
extends SelectionKeyHandler

Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )


Constructor Summary
TcpConnectionHandler(EndPoint localEp)
           
 
Method Summary
 void accept(java.nio.channels.SelectionKey key)
          Method which is called when the key becomes acceptable.
 
Methods inherited from class org.apache.cassandra.net.SelectionKeyHandler
connect, read, turnOffInterestOps, turnOnInterestOps, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpConnectionHandler

public TcpConnectionHandler(EndPoint localEp)
Method Detail

accept

public void accept(java.nio.channels.SelectionKey key)
Description copied from class: SelectionKeyHandler
Method which is called when the key becomes acceptable.

Overrides:
accept in class SelectionKeyHandler
Parameters:
key - The key which is acceptable.


Copyright © 2009 The Apache Software Foundation