KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > test > notification > TestClientOperations


1 package org.jacorb.test.notification;
2
3 import org.omg.CosEventChannelAdmin.AlreadyConnected;
4 import org.omg.CosEventChannelAdmin.TypeError;
5 import org.omg.CosNotifyChannelAdmin.AdminLimitExceeded;
6 import org.omg.CosNotifyChannelAdmin.AdminNotFound;
7 import org.omg.CosNotifyChannelAdmin.EventChannel;
8 import org.omg.CosNotifyFilter.FilterNotFound;
9
10 /**
11  * @author Alphonse Bendt
12  * @version $Id: TestClientOperations.java,v 1.4 2004/08/01 17:55:27 alphonse.bendt Exp $
13  */

14
15 public interface TestClientOperations {
16
17     boolean isConnected();
18     boolean isEventHandled();
19     boolean isError();
20     void connect(EventChannel eventChannel,
21                  boolean useOrSemantic)
22         throws AlreadyConnected,
23                TypeError,
24                AdminLimitExceeded,
25                AdminNotFound;
26
27     void shutdown() throws FilterNotFound;
28
29 }
30
Popular Tags