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.12 2005/04/27 10:39:07 alphonse.bendt Exp $
Author:
Alphonse Bendt

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

Method Detail

deliverMessage

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


isDisposed

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


destroy

public void destroy()