twisted.test.proto_helpers._FakePort(object) class documentationtwisted.test.proto_helpers
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.internet.interfaces.IListeningPort
A fake IListeningPort
to be used in tests.
| Instance Variable | _hostAddress | The IAddressthisIListeningPortis pretending to be listening on. | 
| Method | __init__ | |
| Method | startListening | Fake IListeningPort.startListeningthat doesn't do anything. | 
| Method | stopListening | Fake IListeningPort.stopListeningthat doesn't do anything. | 
| Method | getHost | Fake IListeningPort.getHostthat returns ourIAddress. | 
| Parameters | hostAddress | An IAddressthisIListeningPortshould pretend to be listening on. |