|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.wire.StaleSKH
The purpose of this class is to be able to have a key in the SelectorManager without an attachment while it is pending being attached. If a StaleSKH is attached, then the key will be cancelled next time it is read.
| Constructor Summary | |
StaleSKH()
Constructor for StaleSKH. |
|
| Method Summary | |
void |
accept(java.nio.channels.SelectionKey key)
Method which is called when the key becomes acceptable. |
void |
connect(java.nio.channels.SelectionKey key)
Method which is called when the key becomes connectable. |
void |
read(java.nio.channels.SelectionKey key)
Method which is called when the key becomes readable. |
void |
write(java.nio.channels.SelectionKey key)
Method which is called when the key becomes writable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StaleSKH()
| Method Detail |
public void accept(java.nio.channels.SelectionKey key)
SelectionKeyHandler
accept in interface SelectionKeyHandlerkey - The key which is acceptable.public void connect(java.nio.channels.SelectionKey key)
SelectionKeyHandler
connect in interface SelectionKeyHandlerkey - The key which is connectable.public void read(java.nio.channels.SelectionKey key)
SelectionKeyHandler
read in interface SelectionKeyHandlerkey - The key which is readable.public void write(java.nio.channels.SelectionKey key)
SelectionKeyHandler
write in interface SelectionKeyHandlerkey - The key which is writable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||