org.jacorb.notification.interfaces
Interface MessageConsumer

All Superinterfaces:
Comparable
All Known Subinterfaces:
IProxyPushSupplier
All Known Implementing Classes:
AbstractProxyPushSupplier, AbstractProxySupplier, ECProxyPullSupplierImpl, ECProxyPushSupplierImpl, ProxyPullSupplierImpl, ProxyPushSupplierImpl, SequenceProxyPullSupplierImpl, SequenceProxyPushSupplierImpl, StructuredProxyPullSupplierImpl, StructuredProxyPushSupplierImpl, TypedProxyPullSupplierImpl, TypedProxyPushSupplierImpl

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.

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

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


isDestroyed

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


destroy

void destroy()


Copyright © 2015 JacORB. All rights reserved.