The Mailbox Library: 5 Data Drivers

Up: GEOS SDK TechDocs | Up | Prev: 4 Data Formats | Next: 6 Application Responsibilities

A data driver specifies how the data in a transmitted message is arranged. An application that sends a message must provide it in the format required by the data driver. The data driver then translates the message into an appropriate format for the transport driver. When the transport driver receives a message, it determines which data driver can interpret the message, and then calls theMailbox library.

There are a number of default GEOS data types, and developers may write other data drivers of their own to support new data types.

A data driver has to perform a few different tasks:


Up: GEOS SDK TechDocs | Up | Prev: 4 Data Formats | Next: 6 Application Responsibilities