|
Sybase ESP .NET SDK
5.0 ESD#1
|
Public Member Functions | |
| NetEspDispatcher (String^ name) | |
| NetEspDispatcher (ESP_SDK_NAMESPACE::EspDispatcher *dispatcher) | |
| ESP_SDK_NAMESPACE::EspDispatcher * | getEspDispatcher () |
| int32_t | dispatch (NetEspError^ error) |
| int32_t | start_dispatcher (NetEspError^ error) |
| int32_t | stop_dispatcher (NetEspError^ error) |
| void | execute () |
| void | cleanup () |
| int32_t | add_for_dispatch (NetDispatchInterface^ entity) |
| USING_ESP_SDK_NAMESPACE NetEspDispatcher::NetEspDispatcher | ( | String^ | name | ) |
Creates a custom dispatcher; the name parameter assigns a name to the dispatcher for logging purposes. Creates and returns a NetEspDispatcher object. This can be used to replace the default dispatcher for an entity.
| int32_t NetEspDispatcher::dispatch | ( | NetEspError^ | error | ) |
Dispatches any queued events for all entities registered with this dispatcher. Returns when all pending events have been dispatched.
| int32_t NetEspDispatcher::start_dispatcher | ( | NetEspError^ | error | ) |
Starts an internal thread in the dispatcher.
| int32_t NetEspDispatcher::stop_dispatcher | ( | NetEspError^ | error | ) |
Stops the running internal thread in the dispatcher. Stops the internal thread in the dispatcher.