Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
asyncore.file_wrapper Class Reference

List of all members.

Public Member Functions

def __init__
def recv
def send
def getsockopt
def close
def fileno

Public Attributes

 fd

Static Public Attributes

 read = recv
 write = send

Detailed Description

Definition at line 614 of file asyncore.py.


Constructor & Destructor Documentation

def asyncore.file_wrapper.__init__ (   self,
  fd 
)

Definition at line 619 of file asyncore.py.

00619 
00620         def __init__(self, fd):
00621             self.fd = os.dup(fd)

Here is the caller graph for this function:


Member Function Documentation

Definition at line 639 of file asyncore.py.

00639 
00640         def close(self):
00641             os.close(self.fd)

Definition at line 642 of file asyncore.py.

00642 
00643         def fileno(self):
00644             return self.fd
00645 
    class file_dispatcher(dispatcher):

Here is the caller graph for this function:

def asyncore.file_wrapper.getsockopt (   self,
  level,
  optname,
  buflen = None 
)

Definition at line 628 of file asyncore.py.

00628 
00629         def getsockopt(self, level, optname, buflen=None):
00630             if (level == socket.SOL_SOCKET and
00631                 optname == socket.SO_ERROR and
00632                 not buflen):
00633                 return 0
00634             raise NotImplementedError("Only asyncore specific behaviour "
00635                                       "implemented.")

def asyncore.file_wrapper.recv (   self,
  args 
)

Definition at line 622 of file asyncore.py.

00622 
00623         def recv(self, *args):
00624             return os.read(self.fd, *args)

Here is the caller graph for this function:

def asyncore.file_wrapper.send (   self,
  args 
)

Definition at line 625 of file asyncore.py.

00625 
00626         def send(self, *args):
00627             return os.write(self.fd, *args)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 620 of file asyncore.py.

Definition at line 636 of file asyncore.py.

Definition at line 637 of file asyncore.py.


The documentation for this class was generated from the following file: