twisted.internet.testing._FakePort(object) class documentationtwisted.internet.testing
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.internet.interfaces.IListeningPort
A fake IListeningPort to be used in tests.
| 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. | 
  
| Instance Variable | _hostAddress | The IAddress this IListeningPort is pretending to be listening on. | 
  
| Parameters | hostAddress | An IAddress this IListeningPort should pretend to be listening on. |