C# Class IronRuby.StandardLibrary.Sockets.TCPServer

Inheritance: TCPSocket
显示文件 Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
CreateReadWaitHandle ( ) : WaitHandle
TCPServer ( RubyContext context ) : System

Creates an uninitialized socket.

TCPServer ( RubyContext context, Socket socket ) : System

Private Methods

Method Description
Accept ( ) : Socket
Accept ( RubyContext context, TCPServer self ) : TCPSocket
AcceptNonBlocking ( RubyContext context, TCPServer self ) : TCPSocket
CreateSocket ( ConversionStorage stringCast, ConversionStorage fixnumCast, [ hostname, [ port ) : Socket
CreateTCPServer ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ hostname, [ port ) : TCPServer
GetAcceptResult ( ) : IAsyncResult
Listen ( TCPServer self, int backlog ) : void
Reinitialize ( ConversionStorage stringCast, ConversionStorage fixnumCast, TCPServer self, [ hostname, [ port ) : TCPServer
SysAccept ( RubyContext context, TCPServer self ) : int

Method Details

CreateReadWaitHandle() public method

public CreateReadWaitHandle ( ) : WaitHandle
return System.Threading.WaitHandle

TCPServer() public method

Creates an uninitialized socket.
public TCPServer ( RubyContext context ) : System
context RubyContext
return System

TCPServer() public method

public TCPServer ( RubyContext context, Socket socket ) : System
context RubyContext
socket Socket
return System