Trees | Indices | Help |
---|
|
twisted.internet.protocol.BaseProtocol --+ | twisted.internet.protocol.Protocol --+ | twisted.protocols.basic._PauseableMixin --+ | twisted.protocols.basic.LineReceiver --+ | extern.log.log.Loggable --+ | FGDPBaseProtocol
Base class for the twisted side of the FGDP protocol
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
_transport = None hash(x) |
|||
_gstElement = None hash(x) |
|||
_fd = None hash(x) |
|||
_user =
hash(x) |
|||
_password =
hash(x) |
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Subclasses must implement this method to stop the protocol after the connection has been closed
|
Subclasess must implement this method to process the messages of the line-based protocol
|
Store a reference of the trasport and file descriptor of the used by the new connection
|
Called when a connection is made. This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
|
Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
Loses the current connection and triggers the stop of the protocol. Once the authentication has finished, the file descriptor is not handled anymore by the twisted reactor. A disconnection in the gstreamer element handling the file descriptor should call this method to notify the protocol about it. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon May 11 10:48:50 2015 | http://epydoc.sourceforge.net |