at.ac.tuwien.infosys.sm4all.copal.api.service
Interface DeadLetterChannel

All Superinterfaces:
ContextListener, Observable<DeadLetterChannel.Reason,ContextEvent,DeadLetterChannel.ChannelObserver>
All Known Implementing Classes:
DeadLetterChannelImpl

public interface DeadLetterChannel
extends ContextListener, Observable<DeadLetterChannel.Reason,ContextEvent,DeadLetterChannel.ChannelObserver>

ContextListener of ContextEvents that were not matched by any ContextQuery.

Author:
sanjin

Nested Class Summary
static interface DeadLetterChannel.ChannelObserver
          Interface for classes that want to be used as Observers of a DeadLetterChannel.
static class DeadLetterChannel.Reason
          Reason why a ContextEvent is in the DeadLetterChannel.
 
Method Summary
 void attach(ContextListener listener)
          Attaches specified ContextListener so it will in future receive notifications on dead ContextEvents.
 void detach(ContextListener listener)
          Detach specified ContextListener so it will not receive any future notifications on dead ContextEvents.
 
Methods inherited from interface at.ac.tuwien.infosys.sm4all.copal.api.listener.ContextListener
getName, onEvent
 
Methods inherited from interface at.ac.tuwien.infosys.sm4all.copal.api.util.Observable
attach, detach
 

Method Detail

attach

void attach(ContextListener listener)
Attaches specified ContextListener so it will in future receive notifications on dead ContextEvents.

Parameters:
listener - the ContextListener.

detach

void detach(ContextListener listener)
Detach specified ContextListener so it will not receive any future notifications on dead ContextEvents.

Parameters:
listener - the ContextListener.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.