|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SocketWritable
Represents something that can be written to a Connection
.
todo:
Perhaps this class should be renamed to ConnectionWritable since it is written to a
Connection.write(SocketWritable)
. This aligns the names.
Method Summary | |
---|---|
boolean |
isUrgent()
Checks if this SocketWritable is urgent. |
boolean |
writeTo(ByteBuffer destination)
Asks the SocketWritable to write its content to the destination ByteBuffer. |
Method Detail |
---|
boolean writeTo(ByteBuffer destination)
destination
- the ByteBuffer to write to.
boolean isUrgent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |