C# Класс Helios.Channels.Sockets.AbstractSocketByteChannel

Наследование: AbstractSocketChannel
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
AbstractSocketByteChannel ( IChannel parent, Socket socket ) : System
DoReadBytes ( IByteBuf buf ) : int

Read bytes into the given {@link ByteBuf} and return the amount.

DoWrite ( ChannelOutboundBuffer input ) : void
DoWriteBytes ( IByteBuf buf ) : int

Write bytes form the given {@link ByteBuf} to the underlying {@link java.nio.channels.Channel}. @param buf the {@link ByteBuf} from which the bytes should be written @return amount the amount of written bytes

FilterOutboundMessage ( object msg ) : object
IncompleteWrite ( bool scheduleAsync, SocketChannelAsyncOperation operation ) : void
NewUnsafe ( ) : IChannelUnsafe
ScheduleSocketRead ( ) : void

Приватные методы

Метод Описание
OnReadCompletedSync ( object u, object e ) : void

Описание методов

AbstractSocketByteChannel() защищенный Метод

protected AbstractSocketByteChannel ( IChannel parent, Socket socket ) : System
parent IChannel
socket System.Net.Sockets.Socket
Результат System

DoReadBytes() защищенный абстрактный Метод

Read bytes into the given {@link ByteBuf} and return the amount.
protected abstract DoReadBytes ( IByteBuf buf ) : int
buf IByteBuf
Результат int

DoWrite() защищенный Метод

protected DoWrite ( ChannelOutboundBuffer input ) : void
input ChannelOutboundBuffer
Результат void

DoWriteBytes() защищенный абстрактный Метод

Write bytes form the given {@link ByteBuf} to the underlying {@link java.nio.channels.Channel}. @param buf the {@link ByteBuf} from which the bytes should be written @return amount the amount of written bytes
protected abstract DoWriteBytes ( IByteBuf buf ) : int
buf IByteBuf
Результат int

FilterOutboundMessage() защищенный Метод

protected FilterOutboundMessage ( object msg ) : object
msg object
Результат object

IncompleteWrite() защищенный Метод

protected IncompleteWrite ( bool scheduleAsync, SocketChannelAsyncOperation operation ) : void
scheduleAsync bool
operation SocketChannelAsyncOperation
Результат void

NewUnsafe() защищенный Метод

protected NewUnsafe ( ) : IChannelUnsafe
Результат IChannelUnsafe

ScheduleSocketRead() защищенный Метод

protected ScheduleSocketRead ( ) : void
Результат void