Access Trading System Manual For Computer Programmer's

Contents Index Previous Chapter Next Chapter


Build Assistant


To Top Project Folders

Folders



To Top Building Projects

In Order to support the Common Broker Code You should run c:\ets\generate.bat every time the data_desc changes
This creates the C:\ETS\codegen tool and produces all the generated items.
The batch file for creating the project completed from DOS is called build.bat
The call build r f would create a release version and call the generate.bat file to create the generated items.

From within the IDE you can select rebuild all from the projects workspace from C:\Ets\GUI\ETS.DSW
Note that the workspace does not know about calling generate.bat so you need to run that first prior to opening the project.


To Top File Placement

The "GUI" should reside in C:\Ets\GUI and consist only of "C++ Objects"
The "GUI" should only reference the "C++" Methods of its own project classes ; Methods of the GUIObjects and finally the Tools DLL.C:\Ets\Tools (declaration IPE_BACK_END_DLL)

Those files that fall under the header of GUIObjects, can be called from either the GUI or the ETSAPI DLL,
reside in C:\Ets\API

These files may well include the declaration IPE_BACK_END_DLL which really means AFX_EXT_CLASS
and if so then they are in effect public classes in the DLL.

The GUIObjects classes and API can reference any of the following:
Note however the "GUI" does not know of their existance
C:\ETS\Api\APISystem ; C:\ETS\Api\APISystem\Comms ; C:\ETS\Api\APISystem\MidLayer ; C:\ETS\Api\res ;
C:\ETS\incl\Common ; C:\ETS\incl\Ets ; C:\ETS\incl\generated ; C:\ETS\incl\Implied ;
C:\ETS\share\Common ; C:\ETS\share\Ets ; C:\ETS\share\generated ; C:\ETS\share\Implied
The ETSAPI At The System / Comms Or Midlayer can reference C:\ETS\RBClient


To Top Preprocessor SetUp

  
Project Preprocessor Directories
GUI (Ets.Dsp) _AFXDLL,BACKEND_DLL,_ETS_ C:\Ets\Gui,C:\Ets\API,C:\Ets\Tools
Tools _AFXEXT,_WINDLL,_AFXDLL,_MBCS,BACKEND_DLL,_ETS_ [local only]
Terminate _AFXDLL [local only]
BackEnd (ETSAPI.Dsp) _AFXEXT,_WINDLL,_AFXDLL,_MBCS,BACKEND_DLL,NT,INTEL,LITTLE_IMP,_ETS_ C:\Ets\API,C:\Ets\APISystem,C:\Ets\APISystem\MidLayer,C:\Ets\incl\Generated,C:\Ets\incl\Common,C:\Ets\incl\Ets,C:\Ets\incl\Implied,C:\Ets\share\Implied
EtsComs NT,INTEL,_AFXDLL,LITTLE_IMP C:\Ets\incl\Generated,C:\Ets\incl\Common,C:\Ets\incl\Ets,C:\Ets\incl\Implied,C:\Ets\share\Implied
ImpLib _STORE_PATHS_,_AGGREGATE_VOLUME_,_IMPLICATE_ Note Implied Build Uses _IMPLICATE_ Non-Implied Uses _NO_IMPLICATION_
RBClient NT [local only]
Setup [standard executable] [local only]
cme (Server) Make Sure \ets\cme\makefile has the Implication Flag That Matches ImpLib On The PC Note Implied Build Uses _IMPLICATE_ Non-Implied Uses _NO_IMPLICATION_


To Top RBClient.live

#Values : 0 None, -1 All, -5 to omit time msgs, 4112 Retransmissions and Tx/Rx Messages, default is retransmissions
UB_DIAG 0
#The port for multicasts
UB_UDP_PORT 7779
#The frequency of heartbeats in msecs
UB_HEART_PERIOD 5000
#The frequency to try to connect to the UBS or CS.
UB_RECONNECT_PERIOD 10000
#Number seconds to wait to here from a remote connection before logging out.
UB_DISCONNECT_TIME 40
#Size router buffer to assume to be available per WAN link in Kb.
UB_CHOKE_BUFFER 4
#The rate that messages will drain from each router buffer in Kb/s
UB_BAND_WIDTH 6
#REM The subnet mask for the local LAN where the server resides.
UB_LAN_NET_MASK 193.130.70.0
#The port the UBS is listening on.
UB_UBS_PORT 5678
#The number of retransmissions for the same packet before the client logs out.
UBC_MAX_RETRAN_REQUESTS 10
#The log file name
UBC_LOG_FILE rbclient.log
#Comms hosts
UBC_UBS_HOST0 ets2a
UBC_UBS_PORT0 5678
UB_UDP_ADDR0 225.0.0.3
#UBC_UBS_HOST1 accapp02
#UBC_UBS_PORT1 5678
#UB_UDP_ADDR1 224.0.17.30
#UBC_UBS_HOST2 accapp03
#UBC_UBS_PORT2 5678
#UB_UDP_ADDR2 224.0.17.31

Some Of The RBClient.LIVE values may well be improved. For example
Token Live Possible
UB_CHOKE_BUFFER 4 16
UB_BAND_WIDTH 6 8

Contents Index Previous Chapter Next Chapter To Top


Wilmott Online Technical Forum For Derivative Experts