Package AccessGrid :: Package hosting :: Package SOAPpy :: Module Server :: Class InsecureServer
[show private | hide private]
[frames | no frames]

Class InsecureServer

_Server --+
          |
         InsecureServer


The InsecureServer class derives from the SOAPpy server, but doesn't require any authorization information. It uses stock HTTP.
Method Summary
  __init__(self, addr, debug)
  GetURLBase(self)
Return the base URL that represents this server.
    Inherited from _Server
  FindObject(self, obj)
A lookup method to find the interface the SOAP Server is exposing for a given implementation object.
  FindObjectForPath(self, path)
Return the interface object located at the path specified.
  FindObjectForURL(self, url)
Return the interface object located at the endpoint specified by the URL.
  FindPathForObject(self, obj)
Retrieve the path that represents the web service endpoint for the specified object.
  FindURLForObject(self, obj)
Retrieve the url that represents the web service endpoint for the specified object.
  GetPort(self)
Return the port on which this server is listening.
  IsRunning(self)
This is simply an accessor that returns the value of the running flag.
  RegisterObject(self, obj, namespace, path)
This method is used to register an object with the server.
  Run(self)
Run the server.
  RunInThread(self)
Start the server in a new thread.
  Stop(self)
Stops the server if it is running.
  UnregisterObject(self, obj, namespace, path)
This method removes a object from the server, making it unavailable.

Method Details

__init__(self, addr, debug=0)
(Constructor)

Parameters:
addr - the address the server should listen on
           (type=(host, port) tuple)
debug - a debug flag to pass down internally
           (type=0, or 1)
Overrides:
AccessGrid.hosting.SOAPpy.Server._Server.__init__

GetURLBase(self)

Return the base URL that represents this server.
Returns:
the url of the server
Overrides:
AccessGrid.hosting.SOAPpy.Server._Server.GetURLBase

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