Main Page   Class Hierarchy   Compound List   File List   Compound Members  

tmon.h

00001 /*
00002  * Copyright (c) 1991-2006 TIBCO Software Inc.
00003  * All rights reserved.
00004  * For more information, please contact:
00005  * TIBCO Software Inc., Palo Alto, California, USA
00006  *
00007  * $Id: //dev/packages/tpsi/cpsi/dev/68/src/rtworks/tmon.h#1 $
00008  */
00009 
00010 #ifndef _T_MONITOR_HH_
00011 #define _T_MONITOR_HH_
00012 
00013 #include <rtworks/ipc.h>
00014 #include <rtworks/tex.h>
00015 #include <rtworks/tsrv.h>
00016 #include <rtworks/tmon.h>
00017 
00018 namespace SmartSockets {
00019 
00025   class T_IPCX_API TipcMonException : public TipcException {
00026 
00027   public:
00031     TipcMonException() {}
00032 
00036     virtual ~TipcMonException () throw() {}
00037 
00038   };
00039 
00040 
00099   class T_IPCX_API TipcMon {
00100 
00101     T_IPC_SRV _srv;
00102 
00103   public:
00113     TipcMon(const TipcSrv &tsrv) throw (TipcException);
00114 
00118     virtual ~TipcMon() throw();
00119 
00120   public:
00138     const char *  getIdentStr() const throw (TipcException);
00139 
00156     void setIdentStr(const char * type_str) throw (TipcException);
00157 
00158     // Watch methods
00159 
00161     void printWatch(T_OUT_FUNC out_func = (T_OUT_FUNC) TutOut)
00162     throw (TipcException);
00163 
00167     bool projectNamesGetWatch() const throw (TipcException);
00168 
00200     void projectNamesSetWatch(bool watch_status) throw (TipcException);
00201 
00206     bool clientNamesGetWatch() const throw (TipcException);
00207 
00240     void clientNamesSetWatch(bool watch_status) throw (TipcException);
00241 
00246     bool serverNamesGetWatch() const throw (TipcException);
00247 
00279     void serverNamesSetWatch(bool watch_status) throw (TipcException);
00280 
00282     bool subjectNamesGetWatch() const throw (TipcException);
00283 
00313     void subjectNamesSetWatch(bool watch_status) throw (TipcException);
00314 
00320     bool subjectSubscribeGetWatch(const char * subject_name) const
00321     throw (TipcException);
00322 
00356     void subjectSubscribeSetWatch(const char * subject_name, bool watch_status)
00357     throw (TipcException);
00358 
00371     void projectNamesPoll() throw (TipcException);
00372 
00388     void subjectNamesPoll() throw (TipcException);
00389 
00410     void subjectSubscribePoll(const char * dg_name) throw (TipcException);
00411 
00429     void clientNamesPoll() throw (TipcException);
00430 
00446     void serverNamesPoll() throw (TipcException);
00447 
00452     bool serverConnGetWatch() const throw (TipcException);
00453 
00496     void serverConnSetWatch(bool watch_status) throw (TipcException);
00497 
00519     void serverConnPoll() throw (TipcException);
00520 
00585     void serverGeneralPoll(const char * serverName) throw (TipcException);
00586 
00612     void serverTimePoll(const char * serverName) throw (TipcException);
00613 
00655     void serverBufferPoll(const char * serverName,
00656                           const char * connected_process_name)
00657     throw (TipcException);
00658 
00691     void serverOptionPoll(const char * serverName, const char * option_name)
00692     throw (TipcException);
00693 
00745     void serverMsgTrafficPoll(const char * serverName,
00746                               const char * connected_process_name)
00747     throw (TipcException);
00748 
00749     // New in 6.7 (this poll only)
00792     void serverMsgTrafficExPoll(const char * serverName,
00793                                 const char * connected_process_name)
00794     throw (TipcException);
00795 
00831     void serverRoutePoll(const char * serverName, const char * dest_server_name)
00832     throw (TipcException);
00833 
00834 
00837     bool clientSubscribeGetWatch(const char * clientName) const
00838     throw (TipcException);
00839 
00888     void clientSubscribeSetWatch(const char * clientName,
00889                                  bool watch_status) throw (TipcException);
00890 
00893     bool clientTimeGetWatch(const char * clientName)  const
00894     throw (TipcException);
00895 
00942     void clientTimeSetWatch(const char * clientName,
00943                             bool watch_status) throw (TipcException);
00944 
00947     bool clientBufferGetWatch(const char * clientName) const
00948     throw (TipcException);
00949 
00999     void clientBufferSetWatch(const char * clientName,
01000                               bool watch_status) throw (TipcException);
01001 
01004     bool clientMsgRecvGetWatch(const char * clientName,
01005                                const char * msg_type_name) const
01006     throw (TipcException);
01007 
01066     void clientMsgRecvSetWatch(const char * clientName,
01067                                const char * msg_type_name,bool watch_status)
01068     throw (TipcException);
01069 
01072     bool clientMsgSendGetWatch(const char * clientName,
01073                                const char * msg_type_name) const
01074     throw (TipcException);
01075 
01114     void clientMsgSendSetWatch(const char * clientName,
01115                                const char * msg_type_name,
01116                                bool watch_status) throw (TipcException);
01117 
01118 
01145     void clientSubscribePoll(const char * clientName)
01146     throw (TipcException);
01147 
01209     void clientGeneralPoll(const char * clientName)
01210     throw (TipcException);
01211 
01244     void clientTimePoll(const char * clientName)
01245     throw (TipcException);
01246 
01276     void clientBufferPoll(const char * clientName)
01277     throw (TipcException);
01278 
01312     void clientOptionPoll(const char * clientName,
01313                           const char * option_name)
01314     throw (TipcException);
01315 
01391     void clientMsgTypePoll(const char * clientName,
01392                            const char * msg_type_name)
01393     throw (TipcException);
01394 
01395     // New in 6.7 (this poll only)
01463     void clientMsgTypeExPoll(const char * clientName,
01464                              const char * msg_type_name)
01465     throw (TipcException);
01466 
01504     void clientCbPoll(const char * clientName) throw (TipcException);
01505 
01543     void clientMsgTrafficPoll(const char * clientName)
01544     throw (TipcException);
01545 
01585     void clientSubjectPoll(const char * clientName,
01586                            const char * subject_name) throw (TipcException);
01587 
01588     // New in 6.7 (this poll only)
01623     void clientSubjectExPoll(const char * clientName,
01624                              const char * subject_name) throw (TipcException);
01625 
01626     // new APIs implemented in SS 6.4
01627 
01643     void clientNamesNumPoll() throw (TipcException);
01644 
01665     void clientSubscribeNumPoll(const char * client_name)
01666     throw (TipcException);
01667 
01693     void clientCpuPoll(const char * client_name)
01694     throw (TipcException);
01695 
01720     void serverCpuPoll(const char * server_name)
01721     throw (TipcException);
01722 
01750     void clientInfoPoll(const char * client_name)
01751     throw (TipcException);
01752 
01753 
01768     void clientCongestionSetWatch(const char * client_name, int4 high_water,
01769                                   int4 low_water,  bool watch_status) throw (TipcException);
01770 
01771 
01788     void serverCongestionSetWatch(const char * server_name,
01789                                   const char * connected_process_name, int4 high_water,
01790                                   int4 low_water,  bool watch_status) throw (TipcException);
01791 
01802     void serverMaxClientLicensesSetWatch(const char * server_name,
01803                                          bool watch_status) throw (TipcException);
01804 
01805 
01816     bool clientCongestionGetWatch(const char * client_name)
01817     throw (TipcException);
01818 
01832     bool serverCongestionGetWatch(const char * server_name,
01833                                   const char * connected_process_name) throw (TipcException);
01834 
01847     bool serverMaxClientLicensesGetWatch(const char * server_name)
01848     throw (TipcException);
01849 
01861     void clientExtPoll(const char * client_name)
01862     throw (TipcException);
01863 
01864     // new APIs implemented in SS 6.7
01865 
01889     void serverStartTimePoll(const char * serverName)
01890     throw (TipcException);
01891 
01913     void serverVersionPoll(const char * server_name)
01914     throw (TipcException);
01915 
01938     void clientVersionPoll(const char * client_name)
01939     throw (TipcException);
01940 
01941   };
01942 
01943 } //namespace SmartSockets
01944 
01945 #endif // _T_MONITOR_HH_

Generated on Fri Jul 14 15:05:54 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001