#include <eva4-ffi-sdk.hpp>
◆ RpcEvent()
eva::RpcEvent::RpcEvent |
( |
EvaFFIRpcEvent * |
r | ) |
|
|
inline |
Constructs an event from a raw FFI event buffer
◆ asUnitAction()
Get unit action (for "action" method called)
- Template Parameters
-
T | action value kind for UnitActionParams |
- Returns
- action object
- Exceptions
-
◆ asUnitActionOID()
OID eva::RpcEvent::asUnitActionOID |
( |
| ) |
|
|
inline |
Get unit action OID (for "action" method called)
- Returns
- unit OID
- Exceptions
-
◆ hasPayload()
bool eva::RpcEvent::hasPayload |
( |
| ) |
|
|
inline |
- Returns
- if the call has parametes payload
◆ parse_method()
string eva::RpcEvent::parse_method |
( |
| ) |
|
|
inline |
- Returns
- event method (as string)
◆ primary_sender()
string eva::RpcEvent::primary_sender |
( |
| ) |
|
|
inline |
- Returns
- event sender (primary client id)
◆ unpack()
msgpack::object_handle eva::RpcEvent::unpack |
( |
| ) |
|
|
inline |
- Returns
- MessagePack object handle for the unpacked parameters payload
- Exceptions
-
The documentation for this class was generated from the following file: