Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

ConnectedConnectionEvent.h

00001 #ifndef ConnectedConnectionEvent_h_seen
00002 #define ConnectedConnectionEvent_h_seen
00003 
00004 namespace gov {
00005   namespace cca {
00006 
00009 class ConnectedConnectionEvent : public virtual ConnectionEvent {
00010 
00011 private:
00012   PortInfo *pi;
00013 
00014 public:
00015   ConnectedConnectionEvent(PortInfo *pi_) { 
00016     pi = pi_; 
00017   }
00019   int connected() {
00020     return true;
00021   }
00023   int disconnected() {
00024     return false;
00025   }
00027   PortInfo *getPortInfo() {
00028     return pi;
00029   }
00030 };
00031 
00032   } ENDSEMI
00033 } ENDSEMI
00034 
00035 #endif // ConnectedConnectionEvent_h_seen
00036 

Generated on Tue Aug 20 14:30:31 2002 for CCA Specification/Proposals by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002