springpython.remoting.pyro
index
/home/gturnquist/spring-python-1.2.x/src/springpython/remoting/pyro/__init__.py

Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Reserved
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
    http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

 
Package Contents
       
Pyro4DaemonHolder
PyroDaemonHolder

 
Classes
       
__builtin__.object
Pyro4ProxyFactory
PyroProxyFactory
PyroWrapperObj
springpython.context.InitializingObject(__builtin__.object)
Pyro4ServiceExporter
PyroServiceExporter

 
class Pyro4ProxyFactory(__builtin__.object)
    This is wrapper around a Pyro client proxy. The idea is to inject this object with a 
Pyro service_url, which in turn generates a Pyro client proxy. After that, any
method calls or attribute accessses will be forwarded to the Pyro client proxy.
 
  Methods defined here:
__getattr__(self, name)
__init__(self)
__setattr__(self, name, value)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Pyro4ServiceExporter(springpython.context.InitializingObject)
    This class will expose an object using Pyro. It requires that a daemon thread
be up and running in order to receive requests and allow dispatching to the exposed
object.
 
 
Method resolution order:
Pyro4ServiceExporter
springpython.context.InitializingObject
__builtin__.object

Methods defined here:
__del__(self)
When the service exporter goes out of scope and is garbage collected, the
service must be deregistered.
__init__(self, service=None, service_name=None, service_host='localhost', service_port=7766)
__setattr__(self, name, value)
Only the explicitly listed attributes can be assigned values. Everything else is passed through to
the actual service.
after_properties_set(self)

Data descriptors inherited from springpython.context.InitializingObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class PyroProxyFactory(__builtin__.object)
    This is wrapper around a Pyro client proxy. The idea is to inject this object with a 
Pyro service_url, which in turn generates a Pyro client proxy. After that, any
method calls or attribute accessses will be forwarded to the Pyro client proxy.
 
  Methods defined here:
__getattr__(self, name)
__init__(self)
__setattr__(self, name, value)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class PyroServiceExporter(springpython.context.InitializingObject)
    This class will expose an object using Pyro. It requires that a daemon thread
be up and running in order to receive requests and allow dispatching to the exposed
object.
 
 
Method resolution order:
PyroServiceExporter
springpython.context.InitializingObject
__builtin__.object

Methods defined here:
__del__(self)
When the service exporter goes out of scope and is garbage collected, the
service must be deregistered.
__init__(self, service=None, service_name=None, service_host='localhost', service_port=7766)
__setattr__(self, name, value)
Only the explicitly listed attributes can be assigned values. Everything else is passed through to
the actual service.
after_properties_set(self)

Data descriptors inherited from springpython.context.InitializingObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class PyroWrapperObj(__builtin__.object)
     Methods defined here:
__getattr__(self, name)
__init__(self, delegate)
__setattr__(self, name, value)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)