|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inlineinherited |
Sends a kick message to a task and block the current thread until the reply is received or a timeout has occurred.
For a relative time, something like the following is needed. (ten second timeout).
std::chrono::steady_clock::time_point until =
std::chrono::steady_clock::now() + std::chrono::seconds(10);
KickWaitUntil(until,...);
*but can be done using the DeltaTimeToTimePoint() static method.
| until | Until when should we wait for this. |
| action | A pointer to the threaded action which is executing this operation. |
| name | Name of the action to kick. |
| argIn | Argument to the kick, if any. |
| eventProcessor | An object to use to process events. Defaults to a simple event processor that causes the method to return when the kick completes. |
| argOut | The reply message argument, if any. An address of and sds::IdPtr is supplied. If you supply a null pointer, it is ignored. Otherwise, any argument to the kick completion is copied into here. If there is no argument to the reply, it will refer to a null SDS item. |
References drama::TransEvtInfo::complete, drama::CreateRunDramaTask(), DramaTHROW_F, and drama::TransEvtInfo::entryStatus.