Package foolscap :: Package logging :: Module interfaces :: Class RISubscription
[hide private]
[frames] | no frames]

Class RISubscription

source code

remoteinterface.RemoteInterface --+
                                  |
                                 RISubscription

Instance Methods [hide private]
 
unsubscribe()
Cancel a subscription.
source code
Class Variables [hide private]
  __remote_name__ = 'RISubscription.foolscap.lothar.com'
  _InterfaceClass__attrs = {'unsubscribe': <foolscap.remoteinter...
  __bases__ = (<RemoteInterfaceClass foolscap.remoteinterface.Re...
  __identifier__ = 'foolscap.logging.interfaces.RISubscription'
  __iro__ = (<RemoteInterfaceClass foolscap.logging.interfaces.R...
  __name__ = 'RISubscription'
  __sro__ = (<RemoteInterfaceClass foolscap.logging.interfaces.R...
  _implied = {<InterfaceClass zope.interface.Interface>: (), <Re...
  dependents = <WeakKeyDictionary at 142880204>
Method Details [hide private]

unsubscribe()

source code 

Cancel a subscription. Once this method has been completed (and its Deferred has fired), no further messages will be received by the observer (i.e. the response to unsubscribe() will wait until all pending messages have been queued).

This method is idempotent: calling it multiple times has the same effect as calling it just once.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'unsubscribe': <foolscap.remoteinterface.RemoteMethodSchema instance \
at 0x8842e2c>}

__bases__

Value:
(<RemoteInterfaceClass foolscap.remoteinterface.RemoteInterface>)

__iro__

Value:
(<RemoteInterfaceClass foolscap.logging.interfaces.RISubscription>,
 <RemoteInterfaceClass foolscap.remoteinterface.RemoteInterface>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<RemoteInterfaceClass foolscap.logging.interfaces.RISubscription>,
 <RemoteInterfaceClass foolscap.remoteinterface.RemoteInterface>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass zope.interface.Interface>: (),
 <RemoteInterfaceClass foolscap.logging.interfaces.RISubscription>: ()\
,
 <RemoteInterfaceClass foolscap.remoteinterface.RemoteInterface>: ()}