01: // $Id: QUEUEView.java,v 1.1.1.1 2003/09/09 01:24:09 belaban Exp $
02:
03: package org.jgroups.debug;
04:
05: import javax.swing.*;
06:
07: /**
08: Shows the internals of the QUEUE protocol. Imlements QUEUE.Observer, gets called before an event
09: is added to the (internal) up- or down-queue of QUEUE (<em>not</em>Protocol !). This allows
10: to see what's going on in QUEUE. QUEUEView can also query the attributes of QUEUE, e.g. up_vec,
11: dn_vec etc.<br>
12: QUEUEView is implemented as a JPanel, and not as a JFrame, so it can be displayed inside the
13: Debugger's own view.
14: @author Bela Ban, July 23 2000
15: */
16:
17: public class QUEUEView extends ProtocolSpecificView {
18:
19: public QUEUEView() { // must have a public constructor, will be created by means of reflection
20: add(new JButton("QUEUEView: hello world"));
21: }
22:
23: }
|