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

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

보호된 프로퍼티들

프로퍼티 타입 설명
Socket Socket

Private Properties

프로퍼티 타입 설명
ClearReadPending0 void
OnIoCompleted void

보호된 메소드들

메소드 설명
AbstractSocketChannel ( IChannel parent, Socket socket ) : System
ClearReadPending ( ) : void

Set read pending to false.

DoBeginRead ( ) : void
DoClose ( ) : void
DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool

Connect to the remote peer

DoFinishConnect ( SocketChannelAsyncOperation operation ) : void

Finish the connect

IsCompatible ( IEventLoop eventLoop ) : bool
IsInState ( StateFlags stateToCheck ) : bool
PrepareWriteOperation ( ArraySegment buffer ) : SocketChannelAsyncOperation
PrepareWriteOperation ( IList buffers ) : SocketChannelAsyncOperation
ResetState ( StateFlags stateToReset ) : bool
ResetWriteOperation ( ) : void
ScheduleSocketRead ( ) : void
SetState ( StateFlags stateToSet ) : void
ShutdownInput ( ) : void

비공개 메소드들

메소드 설명
ClearReadPending0 ( ) : void
OnIoCompleted ( object sender, SocketAsyncEventArgs args ) : void PORT NOTE: matches behavior of NioEventLoop.processSelectedKey

메소드 상세

AbstractSocketChannel() 보호된 메소드

protected AbstractSocketChannel ( IChannel parent, Socket socket ) : System
parent IChannel
socket Socket
리턴 System

ClearReadPending() 보호된 메소드

Set read pending to false.
protected ClearReadPending ( ) : void
리턴 void

DoBeginRead() 보호된 메소드

protected DoBeginRead ( ) : void
리턴 void

DoClose() 보호된 메소드

protected DoClose ( ) : void
리턴 void

DoConnect() 보호된 추상적인 메소드

Connect to the remote peer
protected abstract DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
리턴 bool

DoFinishConnect() 보호된 추상적인 메소드

Finish the connect
protected abstract DoFinishConnect ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
리턴 void

IsCompatible() 보호된 메소드

protected IsCompatible ( IEventLoop eventLoop ) : bool
eventLoop IEventLoop
리턴 bool

IsInState() 보호된 메소드

protected IsInState ( StateFlags stateToCheck ) : bool
stateToCheck StateFlags
리턴 bool

PrepareWriteOperation() 보호된 메소드

protected PrepareWriteOperation ( ArraySegment buffer ) : SocketChannelAsyncOperation
buffer ArraySegment
리턴 SocketChannelAsyncOperation

PrepareWriteOperation() 보호된 메소드

protected PrepareWriteOperation ( IList buffers ) : SocketChannelAsyncOperation
buffers IList
리턴 SocketChannelAsyncOperation

ResetState() 보호된 메소드

protected ResetState ( StateFlags stateToReset ) : bool
stateToReset StateFlags
리턴 bool

ResetWriteOperation() 보호된 메소드

protected ResetWriteOperation ( ) : void
리턴 void

ScheduleSocketRead() 보호된 추상적인 메소드

protected abstract ScheduleSocketRead ( ) : void
리턴 void

SetState() 보호된 메소드

protected SetState ( StateFlags stateToSet ) : void
stateToSet StateFlags
리턴 void

ShutdownInput() 보호된 메소드

protected ShutdownInput ( ) : void
리턴 void

프로퍼티 상세

Socket 보호되어 있는 프로퍼티

protected Socket Socket
리턴 Socket