org.jacorb.notification.interfaces
Interface MessageConsumer

All Superinterfaces:
java.lang.Comparable
All Known Subinterfaces:
IProxyPushSupplier
All Known Implementing Classes:
AbstractProxyPushSupplier, AbstractProxySupplier

public interface MessageConsumer
extends java.lang.Comparable

The interface MessageConsumer provides an abstraction of an ProxySupplier.
The MessageConsumer is responsible to maintain the Connection to the real Consumer. To deliver a Message the MessageConsumer converts the Message to the appropiate Format (Any, StructuredEvent, Sequence of StructuredEvent) required by its Consumer and delivers it.

Version:
$Id: MessageConsumer.java,v 1.13 2005/08/21 13:30:01 alphonse.bendt Exp $
Author:
Alphonse Bendt

Method Summary
 void destroy()
           
 boolean isDestroyed()
          check if this MessageConsumer is still valid.
 void queueMessage(Message m)
          Deliver a Message to the associated Consumer.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

queueMessage

public void queueMessage(Message m)
Deliver a Message to the associated Consumer.


isDestroyed

public boolean isDestroyed()
check if this MessageConsumer is still valid.


destroy

public void destroy()