Main Page   Class Hierarchy   Compound List   File List   Compound Members  

tscache.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/tscache.h#1 $
00008  */
00009 
00010 #include <rtworks/types.h>
00011 #include <rtworks/tmt.h>
00012 #include <rtworks/tex.h>
00013 #include <rtworks/tsrv.h>
00014 
00015 namespace SmartSockets {
00016 
00023   class T_IPCX_API TipcSrvCacheException : public TipcException {
00024 
00025   public:
00029     TipcSrvCacheException () {}
00030 
00034     virtual ~TipcSrvCacheException () throw() {}
00035   };
00036 
00037 
00038 
00045   class T_IPCX_API TipcSrvCache {
00046 
00048     char * _smartCache;
00049 
00051     T_IPC_SRV _srv;
00052 
00053   public:
00054 
00061     TipcSrvCache(const char * smartCache, const TipcSrv &tsrv) 
00062     throw (TipcException);
00063 
00065     ~TipcSrvCache() throw() {}
00066 
00074     void init() throw (TipcException);
00075 
00085     void initLV(const char * cmd_file) 
00086     throw (TipcException);
00087 
00100     void gmdInit() throw (TipcException);
00101 
00109     void gmdFinish() throw (TipcException);
00110 
00123     void gmdFlush(const char * reqSubj, const char * reqSender)
00124     throw (TipcException);
00125 
00150     void requestMsgs(const char * reqSubj, int4 numMsgs, 
00151                      real8 deltaTime) throw (TipcException);
00152 
00162     void requestStart(const char * reqSubj, int4 numMsgs, 
00163                       real8 deltaTime) throw (TipcException);
00164 
00172     void requestStop(const char * reqSubj) throw (TipcException);
00173 
00200     void requestLastValue(const char * subject, const TipcMt& returnMt) 
00201     throw (TipcException);
00202 
00220     void sendRequest(const char * reqSubj, int4 numMsgs, 
00221                      real8 deltaTime) throw (TipcException);
00222 
00240     void sendRequestLastValue(const char * reqSubj,  
00241                               real8 deltaTime) throw (TipcException);
00242 
00243 
00244   };
00245 
00246 } //namespace SmartSockets

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