org.ccsds.moims.mo.com.event.consumer.Event Maven / Gradle / Ivy
The newest version!
package org.ccsds.moims.mo.com.event.consumer;
/**
* Consumer interface for Event service.
*/
public interface Event {
/**
* Returns the internal MAL consumer object used for sending of messages from
* this interface.
*
* @return The MAL consumer object.
*/
org.ccsds.moims.mo.mal.consumer.MALConsumer getConsumer();
/**
* Register method for the monitorEvent PubSub interaction.
*
* @param subscription The subscription to register for.
* @param adapter Listener in charge of receiving the messages from the service
* provider.
* @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem
* during the interaction as defined by the MAL specification.
* @throws org.ccsds.moims.mo.mal.MALException if there is an implementation
* exception.
*/
void monitorEventRegister(org.ccsds.moims.mo.mal.structures.Subscription subscription,
org.ccsds.moims.mo.com.event.consumer.EventAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException;
/**
* Deregister method for the monitorEvent PubSub interaction.
*
* @param identifierList The subscription identifiers to deregister.
* @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem
* during the interaction as defined by the MAL specification.
* @throws org.ccsds.moims.mo.mal.MALException if there is an implementation
* exception.
*/
void monitorEventDeregister(org.ccsds.moims.mo.mal.structures.IdentifierList identifierList) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException;
/**
* Asynchronous version of method monitorEventRegister.
*
* @param subscription The subscription to register for.
* @param adapter Listener in charge of receiving the messages from the service
* provider.
* @return the MAL message sent to initiate the interaction.
* @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem
* during the interaction as defined by the MAL specification.
* @throws org.ccsds.moims.mo.mal.MALException if there is an implementation
* exception.
*/
org.ccsds.moims.mo.mal.transport.MALMessage asyncMonitorEventRegister(org.ccsds.moims.mo.mal.structures.Subscription subscription,
org.ccsds.moims.mo.com.event.consumer.EventAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException;
/**
* Asynchronous version of method monitorEventDeregister.
*
* @param identifierList The subscription identifiers to deregister.
* @param adapter Listener in charge of receiving the messages from the service
* provider.
* @return the MAL message sent to initiate the interaction.
* @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem
* during the interaction as defined by the MAL specification.
* @throws org.ccsds.moims.mo.mal.MALException if there is an implementation
* exception.
*/
org.ccsds.moims.mo.mal.transport.MALMessage asyncMonitorEventDeregister(org.ccsds.moims.mo.mal.structures.IdentifierList identifierList,
org.ccsds.moims.mo.com.event.consumer.EventAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy