l.s.m.i.IMessageSession(Interface) : interface documentation

Part of lp.services.messaging.interfaces View In Hierarchy

No interface docstring
Bool is_connected Undocumented
Method connect Connect to the messaging system.
Method disconnect Disconnect from the messaging system.
Method flush Run deferred tasks.
Method finish Flush the session and reset.
Method reset Reset the session.
Method defer Schedule something to happen when this session is finished.
Method getProducer Get a IMessageProducer associated with this session.
Method getConsumer Get a IMessageConsumer associated with this session.
is_connected =
Undocumented
def connect():
Connect to the messaging system.

If the session is already connected this should be a no-op.

def disconnect():
Disconnect from the messaging system.

If the session is already disconnected this should be a no-op.

def flush():
Run deferred tasks.
def finish():
Flush the session and reset.
def reset():
Reset the session.
def defer(func, *args, **kwargs):
Schedule something to happen when this session is finished.
def getProducer(name):
Get a IMessageProducer associated with this session.
def getConsumer(name):
Get a IMessageConsumer associated with this session.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.