Method | Description | |
---|---|---|
__cctor ( ) : void |
Method | Description | |
---|---|---|
MakeException ( CodeContext context, object value ) : |
||
ObjectToSocket ( CodeContext context, object obj ) : |
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 |
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 ( |
||
select ( CodeContext context, object iwtd, object owtd, object ewtd, [ timeout ) : PythonTuple |