twisted.words.test.test_xmlstream.DummyProtocol(protocol.Protocol, utility.EventDispatcher) class documentationtwisted.words.test.test_xmlstream
(View In Hierarchy)
I am a protocol with an event dispatcher without further processing.
This protocol is only used for testing XmlStreamFactoryMixin to make sure the bootstrap observers are added to the protocol instance.
| Method | __init__ | Undocumented | 
Inherited from Protocol:
| Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. | 
| Method | dataReceived | Called whenever data is received. | 
| Method | connectionLost | Called when the connection is shut down. | 
Inherited from BaseProtocol (via Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
| Method | connectionMade | Called when a connection is made. | 
Inherited from EventDispatcher:
| Method | addOnetimeObserver | Register a one-time observer for an event. | 
| Method | addObserver | Register an observer for an event. | 
| Method | removeObserver | Remove callable as observer for an event. | 
| Method | dispatch | Dispatch an event. | 
| Method | _getEventAndObservers | Undocumented | 
| Method | _addObserver | Undocumented |