public interface SocketWritable
Connection
.
todo:
Perhaps this class should be renamed to ConnectionWritable since it is written to a
Connection.write(SocketWritable)
. This aligns the names.Modifier and Type | Method and Description |
---|---|
boolean |
isUrgent()
Checks if this SocketWritable is urgent.
|
boolean |
writeTo(ByteBuffer destination)
Asks the SocketWritable to write its content to the destination ByteBuffer.
|
boolean writeTo(ByteBuffer destination)
destination
- the ByteBuffer to write to.boolean isUrgent()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.