C# 클래스 Helios.Channels.Sockets.AbstractSocketByteChannel

상속: AbstractSocketChannel
파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

보호된 메소드들

메소드 설명
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