org.jacorb.notification.interfaces

Interface MessageConsumer

public interface MessageConsumer extends 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
voiddestroy()
booleanisDestroyed()
check if this MessageConsumer is still valid.
voidqueueMessage(Message m)
Deliver a Message to the associated Consumer.

Method Detail

destroy

public void destroy()

isDestroyed

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

queueMessage

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