public class SelectionKeyRegistrationReference extends Object implements RegistrationReference
| Modifier and Type | Field and Description |
|---|---|
protected Intraband |
intraband |
protected SelectionKey |
readSelectionKey |
protected SelectionKey |
writeSelectionKey |
| Modifier | Constructor and Description |
|---|---|
protected |
SelectionKeyRegistrationReference(Intraband intraband,
SelectionKey readSelectionKey,
SelectionKey writeSelectionKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRegistration() |
Intraband |
getIntraband() |
boolean |
isValid() |
protected final Intraband intraband
protected final SelectionKey readSelectionKey
protected final SelectionKey writeSelectionKey
protected SelectionKeyRegistrationReference(Intraband intraband, SelectionKey readSelectionKey, SelectionKey writeSelectionKey)
public void cancelRegistration()
cancelRegistration in interface RegistrationReferencepublic Intraband getIntraband()
getIntraband in interface RegistrationReferencepublic boolean isValid()
isValid in interface RegistrationReference