Exemple #1
0
 def doRead(self):
     """Called when my standard output stream is ready for reading.
     """
     try:
         return fdesc.readFromFD(self.fd, self.proto.outReceived)
     except OSError:
         return CONNECTION_LOST
Exemple #2
0
 def doRead(self):
     """Called when my standard output stream is ready for reading.
     """
     try:
         return fdesc.readFromFD(self.fd, self.proto.outReceived)
     except OSError:
         return CONNECTION_LOST
Exemple #3
0
 def doRead(self):
     """This is called when the pipe becomes readable.
     """
     return fdesc.readFromFD(self.fd, self.dataReceived)
Exemple #4
0
 def doRead(self):
     """This is called when the pipe becomes readable.
     """
     return fdesc.readFromFD(self.fd, self.dataReceived)
Exemple #5
0
 def doRead(self):
     """Some data's readable from standard input.
     """
     return fdesc.readFromFD(self.fileno(), self.protocol.dataReceived)
Exemple #6
0
 def doRead(self):
     """Called when my standard output stream is ready for reading.
     """
     return fdesc.readFromFD(self.stdout, self.proto.outReceived)
Exemple #7
0
 def doError(self):
     """Called when my standard error stream is ready for reading.
     """
     return fdesc.readFromFD(self.stderr, self.proto.errReceived)