RemoteObjectFactory

Derived classes create remote objects.

Methods

create(self, protoSpec, key, localObject)

   def create(self, protoSpec, key, localObject = None):

Derived classes must override this function to provide one that returns their particular variety of remote object.

parms:

protoSpec

[ Protocol or None] If supplied, this is the protocol for the object. If None, this is an indicator that the object exists locally and a protocol will be provided for it when the remote object is transported. localObject should not be None in this case.

key

[string] object key.

localObject

[any] If not None, this is the local (server side) object. If this is provided, protoSpec may be None.