Trees | Indices | Help |
|
---|
|
Basic server implementation which can be used for implementing a standalone python server which can be started from icegridnode.
The servant implementation MUST have a constructor which takes a single ServerContext argument AND have a cleanup() method
Logging is configured relative to the current directory to be in var/log by default.
Usage:
if __name__ == "__main__": app=Server(ServicesI, "ServicesAdapter", Ice.Identity("Services","")) sys.exit(app.main(sys.argv))
app.impl now points to an instance of ServicesI
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
The constructor accepts an optional argument indicating whether to handle signals. The value should be either Application.HandleSignals (the default) or Application.NoSignalHandling.
|
This method must be overridden in a subclass. The base class supplies an argument list from which all Ice arguments have already been removed. The method returns an integer exit status (0 is success, non-zero is failure).
|
Cleans up all resources that were created by this server. Primarily the one servant instance. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 23 15:04:52 2014 | http://epydoc.sourceforge.net |