Package net.engio.mbassy.subscription


package net.engio.mbassy.subscription
  • Class
    Description
    The base implementation for subscription context aware objects (mightily obvious :)
    This interface marks components that have access to the subscription context.
     
    A message envelope is used to wrap messages of arbitrary type such that a handler my receive messages of different types.
    A subscription is a thread-safe container that manages exactly one message handler of all registered message listeners of the same class, i.e.
    The subscription context holds all (meta)data/objects that are relevant to successfully publish a message within a subscription.
    The subscription factory is used to create an empty subscription for specific message handler.
    The subscription managers responsibility is to consistently handle and synchronize the message listener subscription process.