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 IAddress 
this IListeningPort
is pretending to be listening on. | 
  
| Method | __init__ | |
| Method | startListening | Fake IListeningPort.startListening
that doesn't do anything. | 
  
| Method | stopListening | Fake IListeningPort.stopListening
that doesn't do anything. | 
  
| Method | getHost | Fake IListeningPort.getHost
that returns our IAddress. | 
  
| Parameters | hostAddress | An IAddress 
this IListeningPort
should pretend to be listening on. |