Package AccessGrid :: Module AGNetworkService :: Class AGNetworkService
[show private | hide private]
[frames | no frames]

Class AGNetworkService


Class to use when creating a network service.
Method Summary
  __init__(self, name, description, version)
Initiate the class.
  RegisterWithVenues(self, urls)
Registers this network service with venues contained in the urls list.
  RegisterWithVenueServer(self, url)
Registers this network service with all venues on server located at url.
  Start(self, service)
Performs necessary AG initialization operations for authorization, logging, command line options, and so forth.
  StartSignalLoop(self)
Start loop that can get interrupted from signals and shut down service properly.
  Stop(self)
Disconnects from venue and shuts down the SOAP server.
  StopSignalLoop(self, signum, frame)
Signal callback that shuts down the service cleanly.
  UnRegisterFromVenues(self, urls)
Disconnects from all venues contained in the urls list.
  UnRegisterFromVenueServer(self, url)
Disconnects from all venues on server located at url.

Method Details

__init__(self, name, description, version)
(Constructor)

Initiate the class.

** Arguments **

* name * name of the service. * description * description of the service. * version * service version.

RegisterWithVenues(self, urls)

Registers this network service with venues contained in the urls list. If no url list is specified, use venue url command line option.

** Arguments **

* urls * list of venue urls.

RegisterWithVenueServer(self, url)

Registers this network service with all venues on server located at url. If no url is specified, use venue url command line option.

Start(self, service)

Performs necessary AG initialization operations for authorization, logging, command line options, and so forth. Starts a SOAP service and registers a signal handler to make it possible to stop the service from the command line.

StartSignalLoop(self)

Start loop that can get interrupted from signals and shut down service properly.

Stop(self)

Disconnects from venue and shuts down the SOAP server.

StopSignalLoop(self, signum, frame)

Signal callback that shuts down the service cleanly.

UnRegisterFromVenues(self, urls)

Disconnects from all venues contained in the urls list.

UnRegisterFromVenueServer(self, url)

Disconnects from all venues on server located at url.

Generated by Epydoc 2.1 on Thu Apr 14 16:39:28 2005 http://epydoc.sf.net