#include "dnxServerMain.h"#include "dnxJobList.h"#include "dnxTransport.h"Go to the source code of this file.
Data Structures | |
| struct | DnxDispatcher |
| Abstract data type for the DNX job dispatcher. More... | |
Functions | |
| int | dnxDispatcherCreate (char *chname, char *url, DnxJobList *joblist, DnxDispatcher **pdisp) |
| Create a new dispatcher object. | |
| DnxChannel * | dnxDispatcherGetChannel (DnxDispatcher *disp) |
| Return the internal comm channel used by the dispatcher. | |
| void | dnxDispatcherDestroy (DnxDispatcher *disp) |
| Destroy an existing dispatcher object. | |
| int dnxDispatcherCreate | ( | char * | chname, | |
| char * | url, | |||
| DnxJobList * | joblist, | |||
| DnxDispatcher ** | pdisp | |||
| ) |
Create a new dispatcher object.
| [in] | chname | - the name of the dispatch channel. |
| [in] | url | - the dispatcher channel url. |
| [in] | joblist | - a pointer to the global job list object. |
| [out] | pdisp | - the address of storage for the return of the new dispatcher object. |
Definition at line 177 of file dnxDispatcher.c.
| void dnxDispatcherDestroy | ( | DnxDispatcher * | disp | ) |
Destroy an existing dispatcher object.
| [in] | disp | - a pointer to the dispatcher object to be destroyed. |
Definition at line 239 of file dnxDispatcher.c.
| DnxChannel* dnxDispatcherGetChannel | ( | DnxDispatcher * | disp | ) |
Return the internal comm channel used by the dispatcher.
This method exists so the registrar can send a job on the same socket from which it received a job request.
| [in] | disp | - the dispatcher from which to retrieve the channel. |
disp. Definition at line 172 of file dnxDispatcher.c.
1.5.6