I'm attempting to build a Twisted pb client in Actionscript. or at least enough to act as the client in this example . . http://twistedmatrix.com/projects/core/documentation/howto/pb-cred.html#auto... I'm a bit stuck here . . def _sendError(self, fail, requestID): """(internal) Send an error for a previously sent message. """ if isinstance(fail, failure.Failure): # If the failures value is jellyable or allowed through security, # send the value if (isinstance(fail.value, Jellyable) or self.security.isClassAllowed(fail.value.__class__)): fail = fail.value elif not isinstance(fail, CopyableFailure): fail = failure2Copyable(fail, self.factory.unsafeTracebacks) if isinstance(fail, CopyableFailure): fail.unsafeTracebacks = self.factory.unsafeTracebacks self.sendCall("error", requestID, self.serialize(fail)) where should self.factory be set ? what is self.factory ? PbClientFactory ?