rabbit.io
Class HandlerRegistration

java.lang.Object
  extended by rabbit.io.HandlerRegistration

public class HandlerRegistration
extends Object

A class to hold information about when an operation was attached to the selector. Needed for timeout options.


Field Summary
 SocketHandler handler
           
 long when
           
 
Constructor Summary
HandlerRegistration(SocketHandler handler)
           
HandlerRegistration(SocketHandler handler, long when)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

when

public long when

handler

public SocketHandler handler
Constructor Detail

HandlerRegistration

public HandlerRegistration(SocketHandler handler)

HandlerRegistration

public HandlerRegistration(SocketHandler handler,
                           long when)
Method Detail

toString

public String toString()
Overrides:
toString in class Object