MCPcopy Create free account
hub / github.com/mininet/mininet / waitReadable

Method waitReadable

mininet/node.py:290–296  ·  view source on GitHub ↗

Wait until node's output is readable. timeoutms: timeout in ms or None to wait indefinitely. returns: result of poll()

( self, timeoutms=None )

Source from the content-addressed store, hash-verified

288 self.terminate()
289
290 def waitReadable( self, timeoutms=None ):
291 """Wait until node's output is readable.
292 timeoutms: timeout in ms or None to wait indefinitely.
293 returns: result of poll()"""
294 if len( self.readbuf ) == 0:
295 return self.pollOut.poll( timeoutms )
296 return None
297
298 def sendCmd( self, *args, **kwargs ):
299 """Send a command, followed by a command to echo a sentinel,

Callers 1

monitorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected