KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > dyade > aaa > agent > DriverMonitor


1 /*
2  * Copyright (C) 1996 - 2000 BULL
3  * Copyright (C) 1996 - 2000 INRIA
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18  * USA.
19  */

20 package fr.dyade.aaa.agent;
21
22 /**
23  * The <code>DriverMonitor</code> class is used by <code>ProxyAgent</code>
24  * instances managing multi-connections for holding the elements composing a
25  * connection set.
26  */

27 public class DriverMonitor {
28
29   /** The DriverIn of this connection set. */
30   DriverIn drvIn;
31   /** The DriverOut of this connection set. */
32   DriverOut drvOut;
33   /** The Queue (out) of this connection set. */
34   fr.dyade.aaa.util.Queue qout;
35   /** The DriverConnect object of this connection set. */
36   DriverConnect drvCnx;
37   /** The NotificationInputStream of this connection set. */
38   NotificationInputStream ois;
39   /** The NotificationOutputStream of this connection set. */
40   NotificationOutputStream oos;
41
42   /**
43    * Constructor.
44    */

45   public DriverMonitor(DriverIn drvIn,
46                        DriverOut drvOut,
47                        fr.dyade.aaa.util.Queue qout,
48                        NotificationInputStream ois,
49                        NotificationOutputStream oos,
50                        DriverConnect drvCnx) {
51     this.drvIn = drvIn;
52     this.drvOut = drvOut;
53     this.qout = qout;
54     this.ois = ois;
55     this.oos = oos;
56     this.drvCnx = drvCnx;
57   }
58
59   /** Method returning the qout object. */
60   public fr.dyade.aaa.util.Queue getQout() {
61     return qout;
62   }
63
64   /** Method returning the ois object. */
65   public NotificationInputStream getOis() {
66     return ois;
67   }
68
69   /** Method returning the oos object. */
70   public NotificationOutputStream getOos() {
71     return oos;
72   }
73 }
74
Popular Tags