public abstract class AbstractChat<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected Conversation |
conversation |
Constructor and Description |
---|
AbstractChat() |
Modifier and Type | Method and Description |
---|---|
protected void |
addInterest(SelectionKey key,
int op) |
abstract boolean |
init(Conversation conversation,
SelectionKey key) |
abstract boolean |
process(SelectionKey key) |
protected void |
removeInterest(SelectionKey key,
int op) |
abstract T |
result() |
byte |
write(SelectionKey key,
ByteBuffer msg) |
protected Conversation conversation
public abstract boolean init(Conversation conversation, SelectionKey key)
public abstract boolean process(SelectionKey key)
public abstract T result()
protected void removeInterest(SelectionKey key, int op)
protected void addInterest(SelectionKey key, int op)
public byte write(SelectionKey key, ByteBuffer msg)
Copyright © GigaSpaces.