C# 클래스 IronPython.Modules.PythonSelect

파일 보기 프로젝트 열기: jschementi/iron

공개 메소드들

메소드 설명
__cctor ( ) : void

비공개 메소드들

메소드 설명
MakeException ( CodeContext context, object value ) : Exception
ObjectToSocket ( CodeContext context, object obj ) : Socket

Return the System.Net.Sockets.Socket object that corresponds to the passed-in object. obj can be a System.Net.Sockets.Socket, a PythonSocket.SocketObj, a long integer (representing a socket handle), or a Python object with a fileno() method (whose result is used to look up an existing PythonSocket.SocketObj, which is in turn converted to a Socket.

PerformModuleReload ( IronPython.Runtime.PythonContext context, PythonDictionary dict ) : void
ProcessSocketSequence ( CodeContext context, object sequence, List &socketList, object>.Dictionary &socketToOriginal ) : void

Process a sequence of objects that are compatible with ObjectToSocket(). Return two things as out params: an in-order List of sockets that correspond to the original objects in the passed-in sequence, and a mapping of these socket objects to their original objects. The socketToOriginal mapping is generated because the CPython select module supports passing to select either file descriptor numbers or an object with a fileno() method. We try to be faithful to what was originally requested when we return.

SocketExceptionToTuple ( SocketException e ) : PythonTuple
select ( CodeContext context, object iwtd, object owtd, object ewtd, [ timeout ) : PythonTuple

메소드 상세

__cctor() 공개 정적인 메소드

public static __cctor ( ) : void
리턴 void