Source File Distribution


The C++ class library is distributed in binary and source code format.

The Binary Library

The binary library, whose suffix may differ according to platform, is included with the SmartSockets distribution in these directories:

UNIX:
$RTHOME/lib/$RTARCH/librtsscpp50.so 
Windows:
%RTHOME%\lib\%RTARCH%\tsscpp.lib 

The binaries are compiled with a native compiler from a vendor’s platform. For example, a Sun SPARCompiler was used to compile binaries for Solaris.

The Source Code

Because C++ compilers do not necessarily generate binary code that is compatible with other C++ compilers, the C++ source is 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/sscpp 
Windows:
%RTHOME%\source\sscpp 

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/libsscpp.a 
Windows:
%RTHOME%\lib\%RTARCH%\sscpp.lib 

On UNIX, the sample makefile builds the library with the Sun WorkShop C++ compiler, CC.

This makefile does not overwrite the TIBCO library from the product distribution.

Source File Organization

The source file organization is:

Table 2 SmartSockets Source File Organization
Source File
SmartSockets C++ Class Implementation
tcallbck.cxx
CallBack
ConnectionCallBack
DecodeCallBack
EncodeCallBack
ErrorCallBack
MessageCallBack
MessageQueueCallBack
tconn.cxx
TipcConn
TipcConnServer
TipcConnClient
TipcConnSearchSelector
tdisp.cxx
TipcDispatcher
TipcDispatcherTraverser
tevent.cxx
TipcEvent
ConnEvent
MessageEvent
SocketEvent
TimeEvent
tex.cxx
Exception
CallBackException
SystemException
TipcConnException
TipcSrvException
TipcDispatcherException
TipcEventException
TipcMonException
TipcMsgException
TipcMsgFileException
TipcMtException
TipcSrvCacheException
UtilitiesException
XMLException
texnames.cxx
ExceptionNames
tmon.cxx
TipcMon
tmsg.cxx
TipcMsg
TipcMsgTraverser
tmsgfile.cxx
TipcMsgFile
tmsgname.cxx
TipcMsgManipName
tmsgsize.cxx
TipcMsgManipSize
tmt.cxx
TipcMt
TipcMtTraverser
toption.cxx
Option
OptionChangeCallBack
tscache.cxx
TipcSrvCache
tsrv.cxx
TipcSrv
tsystem.cxx
System
tutil.cxx
Utilities
txml.cxx
XML


TIBCO SmartSockets™ C++ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com