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

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

공개 메소드들

메소드 설명
ShutdownOutputAsync ( ) : System.Threading.Tasks.Task
TcpSocketChannel ( ) : System

Create a new instance

TcpSocketChannel ( AddressFamily addressFamily ) : System

Create a new instance

TcpSocketChannel ( IChannel parent, Socket socket ) : System

Create a new instance @param parent the {@link Channel} which created this instance or {@code null} if it was created by the user @param socket the {@link SocketChannel} which will be used

TcpSocketChannel ( Socket socket ) : System

Create a new instance using the given {@link SocketChannel}.

보호된 메소드들

메소드 설명
DoBind ( EndPoint localAddress ) : void
DoClose ( ) : void
DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool
DoDisconnect ( ) : void
DoFinishConnect ( SocketChannelAsyncOperation operation ) : void
DoReadBytes ( IByteBuf buf ) : int
DoWrite ( ChannelOutboundBuffer input ) : void
DoWriteBytes ( IByteBuf buf ) : int
NewUnsafe ( ) : IChannelUnsafe

비공개 메소드들

메소드 설명
OnConnected ( ) : void
ShutdownOutput0 ( TaskCompletionSource promise ) : void
TcpSocketChannel ( IChannel parent, Socket socket, bool connected ) : System

메소드 상세

DoBind() 보호된 메소드

protected DoBind ( EndPoint localAddress ) : void
localAddress System.Net.EndPoint
리턴 void

DoClose() 보호된 메소드

protected DoClose ( ) : void
리턴 void

DoConnect() 보호된 메소드

protected DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
리턴 bool

DoDisconnect() 보호된 메소드

protected DoDisconnect ( ) : void
리턴 void

DoFinishConnect() 보호된 메소드

protected DoFinishConnect ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
리턴 void

DoReadBytes() 보호된 메소드

protected DoReadBytes ( IByteBuf buf ) : int
buf IByteBuf
리턴 int

DoWrite() 보호된 메소드

protected DoWrite ( ChannelOutboundBuffer input ) : void
input ChannelOutboundBuffer
리턴 void

DoWriteBytes() 보호된 메소드

protected DoWriteBytes ( IByteBuf buf ) : int
buf IByteBuf
리턴 int

NewUnsafe() 보호된 메소드

protected NewUnsafe ( ) : IChannelUnsafe
리턴 IChannelUnsafe

ShutdownOutputAsync() 공개 메소드

public ShutdownOutputAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

TcpSocketChannel() 공개 메소드

Create a new instance
public TcpSocketChannel ( ) : System
리턴 System

TcpSocketChannel() 공개 메소드

Create a new instance
public TcpSocketChannel ( AddressFamily addressFamily ) : System
addressFamily AddressFamily
리턴 System

TcpSocketChannel() 공개 메소드

Create a new instance @param parent the {@link Channel} which created this instance or {@code null} if it was created by the user @param socket the {@link SocketChannel} which will be used
public TcpSocketChannel ( IChannel parent, Socket socket ) : System
parent IChannel
socket Socket
리턴 System

TcpSocketChannel() 공개 메소드

Create a new instance using the given {@link SocketChannel}.
public TcpSocketChannel ( Socket socket ) : System
socket Socket
리턴 System