132
|
1 /*******************************************************************************
|
|
2
|
|
3 copyright: Copyright (c) 2004 Kris Bell. All rights reserved
|
|
4
|
|
5 license: BSD style: $(LICENSE)
|
|
6
|
|
7 version: July 2004: Initial release
|
|
8
|
|
9 author: Kris
|
|
10
|
|
11 *******************************************************************************/
|
|
12
|
|
13 module tango.net.cluster.model.IConsumer;
|
|
14
|
|
15 /*******************************************************************************
|
|
16
|
|
17 Contract exposed by each cluster listener. This is what you are
|
|
18 handed back upon successful construction of a listener.
|
|
19
|
|
20 *******************************************************************************/
|
|
21
|
|
22 interface IConsumer
|
|
23 {
|
|
24 /***********************************************************************
|
|
25
|
|
26 Cancel the listener. No more events will be dispatched to
|
|
27 the associated ChannelListener.
|
|
28
|
|
29 ***********************************************************************/
|
|
30
|
|
31 void cancel();
|
|
32 }
|
|
33
|
|
34
|