Trees | Index | Help |
---|
Package flumotion :: Package job :: Module job :: Class JobClientFactory |
|
Loggable
--+ |Factory
--+ | | |ClientFactory
--+ | | |PBClientFactory
--+ | JobClientFactory
Method Summary | |
---|---|
| |
Create an instance of a subclass of Protocol. | |
login(self,
*args,
**kwargs)
| |
This will be called before I stop listening on all Ports/Connectors. | |
Inherited from PBClientFactory | |
Called when a connection has failed to connect. | |
Reconnecting subclasses should call with reconnecting=1. | |
| |
If the factory is connected, close the connection. | |
Get perspective from remote PB server. | |
Get root object of remote PB server. | |
Inherited from ClientFactory | |
Called when a connection has been started. | |
Inherited from Factory | |
Make sure startFactory is called. | |
Make sure stopFactory is called. | |
This will be called before I begin listening on a Port or Connector. | |
Inherited from Loggable | |
Log a debug message. | |
dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
Class Variable Summary | |
---|---|
str |
logCategory : Implementors can provide a category to log their messages under. |
JobMedium |
medium : the medium for the JobHeaven to access us through |
InterfaceClass |
perspectiveInterface = <InterfaceClass flumotion.common....
|
Inherited from PBClientFactory | |
int |
unsafeTracebacks = 0 |
Inherited from Factory | |
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
bool |
noisy = True
|
int |
numPorts = 0 |
NoneType |
protocol = None |
Method Details |
---|
__init__(self,
id)
|
buildProtocol(self, addr)Create an instance of a subclass of Protocol. The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory. Override this method to alter how Protocol instances get created.
|
stopFactory(self)This will be called before I stop listening on all Ports/Connectors. This can be overridden to perform 'shutdown' tasks such as disconnecting database connections, closing files, etc. It will be called, for example, before an application shuts down, if it was connected to a port. User code should not call this function directly.
|
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
mediumthe medium for the JobHeaven to access us through
|
perspectiveInterface
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri May 18 09:35:52 2007 | http://epydoc.sf.net |