cc.otavia.core.channel.message
Members list
Type members
Classlikes
A AdaptiveBufferMessage only notice AdaptiveBuffer is change.
AdaptiveBufferMessage is a message send between ChannelHandler which ChannelHandler.isBufferHandler is true.
AdaptiveBufferMessage is a message send between ChannelHandler which ChannelHandler.isBufferHandler is true.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
A AdaptiveBufferMessage use for describe a data range in AdaptiveBuffer
A AdaptiveBufferMessage use for describe a data range in AdaptiveBuffer
Value parameters
- length
-
data length in AdaptiveBuffer
- start
-
data start offset in AdaptiveBuffer
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AdaptiveBufferMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
AutoReadPlan.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AdaptiveBufferMessageclass Objecttrait Matchableclass AnyShow all
Read file channel from position with length, See also FileChannel.
Read file channel from position with length, See also FileChannel.
Value parameters
- length
-
Length of bytes want to read. If length is -1, read until file end.
- position
-
If position is -1, bytes are read starting at this channel's current file position, and then the file position is updated with the number of bytes actually read. If position is not -1, then read starting at the given file position rather than at the channel's current position. This method does not modify this channel's position. If the given position is greater than the file's current size then no bytes are read.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReadPlanclass Objecttrait Matchableclass AnyShow all
The ReadPlanFactory that always yields the same buffer size prediction. This handle ignores the feedback from the I/O thread.
The ReadPlanFactory that always yields the same buffer size prediction. This handle ignores the feedback from the I/O thread.
Value parameters
- bufferSize
-
size for each read.
- maxMessagesPerRead
-
max message per read.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FixedReadPlanFactory.type
Base implementation of ReadPlanFactory which allows to limit the number of messages read per read loop.
Base implementation of ReadPlanFactory which allows to limit the number of messages read per read loop.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class FixedReadPlanFactory
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
ReadPlan is a trait usage by ChannelOutboundInvoker.read to describe how to read data read from a channel
ReadPlan is a trait usage by ChannelOutboundInvoker.read to describe how to read data read from a channel
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AutoReadPlanclass FileReadPlanclass MaxMessageReadPlanclass FixedReadPlanclass NioServerSocketReadPlanclass NioSocketChannelReadPlanShow all
Implementations allow to influence how much data / messages are read per read loop invocation.
Implementations allow to influence how much data / messages are read per read loop invocation.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes