Source File Distribution


The C++ class library is distributed in binary and source code format. The binaries are compiled with a native compiler from the vendor of a particular platform. (For instance, a Sun SPARCompiler was used to compile binaries for Solaris.) Because C++ compilers may not necessarily generate binaries that are compatible with other C++ compilers, the C++ sources are also distributed so that you can compile the class library with a C++ compiler compatible with your environment. The source files are located in this directory:

UNIX:
$RTHOME/source/cxxipc  
OpenVMS:
RTHOME:[SOURCE.CXXIPC]  
Windows:
%RTHOME%\source\cxxipc 

A sample makefile is included with the source files to build the C++ library. The library name produced and the name of the directory are:

UNIX:
$RTHOME/lib/$RTARCH/libcxxipc.a 
OpenVMS:
RTHOME:[LIB.’RTARCH]cxxipc.olb 
Windows:
%RTHOME%\lib\%RTARCH%\ipcx.lib 

On UNIX, the sample makefile builds the library with the GNU C++ compiler g++.

This makefile does not overwrite this TIBCO-supplied library from the product distribution:

UNIX:
libcxxipc.a 
OpenVMS:
rtcxxipc.olb 
Windows:
tipcx.lib 

Each source file (.cxx) in the source code has a corresponding header file (.hxx) that contains the declaration of a SmartSockets class, in this directory:

UNIX:
$RTHOME/include/$RTARCH 
OpenVMS:
RTHOME:[INCLUDE.RTWORKS]  
Windows:
%RTHOME%\include\rtworks  

The source file organization is:

Source File
SmartSockets C++ Class Implementation
tconn.cxx
TipcConn
TipcConnServer
TipcConnClient
tmon.cxx
TipcMon
tmonclt.cxx
TipcMonClient
tmonsrv.cxx
TipcMonServer
tmsg.cxx
TipcMsg
tmsgfile.cxx
TipcMsgFile
tmsgmanp.cxx
TipcMsgManip
tmt.cxx
TipcMt
tobj.cxx
Tobj
tsrv.cxx
TipcSrv

Using Threads

The SmartSockets threads API is not wrapped, because it is part of the utilities library (Tut*). This includes the function TipcInitThreads that must be called if your application uses threads. See the TIBCO SmartSockets Utilities for more details on the threads API.


TIBCO SmartSockets™ cxxipc Class Library
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com