Access Trading System Manual For Computer Programmer's

  
Contents Index Previous Chapter Next Chapter

Broker Layer


Broker Introduction

The Broker Layer represents the exchange of data between the server and client.
To do so requires the transmission of an object through the socket connection.
The Broker Layer in the Nymex Access Trading System pre-dates the likes of CORBA and COM.
The method is rather simple, each message has a structure applicable to it.
The functions that make up the broker layer copy bytes to a stream from a structure to write a message
and copy bytes from a stream to a structure to read a message.
Each message has a four byte header at present of Message Number and Message Length.
The practice has evolved that the next seven bytes are user(2), tradingsystem(1) and IP(4).


Topic Two


Topic Three


Contents Index Previous Chapter Next Chapter To Top


Wilmott Online Technical Forum For Derivative Experts