Difference between revisions of "Message Bus Drivers"

From truxwiki.com
Jump to navigation Jump to search
(Created page with "The Message Bus is implemented in two drivers, Client and Server. They are implemented in DLLs so as to completely separate the communication methods from application logic....")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
The Message Bus is implemented in two drivers, Client and Server.
 
The Message Bus is implemented in two drivers, Client and Server.
They are implemented in DLLs so as to completely separate the communication methods from application logic.
+
They are [https://en.wikipedia.org/wiki/Dynamic-link_library DLLs] which completely separates the communication methods from application logic.
 +
Truxton doesn't know how the message bus is actually implemented, all it knows are how to call functions in an interface to do a job.
 +
 
 +
=Plugin=
 +
There are no compile-time linkages to the message bus.
 +
The plugins are [https://en.wikipedia.org/wiki/Dynamic-link_library DLLs] that expose an entry-point function by name.
 +
This entry-point function accepts a data structure that will be filled with pointers to functions to do all of the tasks in the interface.
  
 
=Client=
 
=Client=
Line 7: Line 13:
  
 
=Server=
 
=Server=
The Message Bus Server is for use by applications that wish to create or destroy a server.
+
The Message Bus Server is for use by applications that need to create or destroy a message server.
 
It cannot send or receive messages.
 
It cannot send or receive messages.
 
The server implements the [[MESSAGE_BUS_SERVER]] interface.
 
The server implements the [[MESSAGE_BUS_SERVER]] interface.

Latest revision as of 17:30, 1 September 2020

The Message Bus is implemented in two drivers, Client and Server. They are DLLs which completely separates the communication methods from application logic. Truxton doesn't know how the message bus is actually implemented, all it knows are how to call functions in an interface to do a job.

Plugin

There are no compile-time linkages to the message bus. The plugins are DLLs that expose an entry-point function by name. This entry-point function accepts a data structure that will be filled with pointers to functions to do all of the tasks in the interface.

Client

The Message Bus Client is for use by applications that need to communicate with message queues. The client implements the MESSAGE_BUS_PROVIDER interface.

Server

The Message Bus Server is for use by applications that need to create or destroy a message server. It cannot send or receive messages. The server implements the MESSAGE_BUS_SERVER interface.