|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
a client's connection as the service sees it - the service's counterpart of a kernel driver's client: what the client asks lands in ioctl(), its connection's end destroys it More...
#include <dx_service_message.h>
Public Member Functions | |
| virtual size_t | ioctl(uint32_t ioctl, const void* in, size_t size_in, void* out, size_t size_out)= 0 |
| peer(uint32_t pid) | |
| std::vector<uint8_t> | reply(const message& request) noexcept |
| a checked request answered: ioctl() on its data, the reply bounded by what the request takes back - dx::ioctl::listen, the broadcast's, answers nothing | |
| virtual | ~peer()= default |
Public Attributes | |
| const uint32_t | pid |
| the process on the other side, as the OS states it | |
a client's connection as the service sees it - the service's counterpart of a kernel driver's client: what the client asks lands in ioctl(), its connection's end destroys it
ioctl() answers what its reply carries, its size; an exception is the reply's result.
|
inline |
|
virtualdefault |
Reimplemented in dx::service::stream::device< super_device_t >::peer.
|
pure virtual |
Implemented in dx::service::device< super_device_t >::peer, dx::service::driver< driver_t >::peer, and dx::service::stream::device< super_device_t >::peer.
a checked request answered: ioctl() on its data, the reply bounded by what the request takes back - dx::ioctl::listen, the broadcast's, answers nothing
| const uint32_t dx::service::peer::pid |
the process on the other side, as the OS states it