9 #ifndef DBUS_CXX_SENDMSGTRANSPORT_H
10 #define DBUS_CXX_SENDMSGTRANSPORT_H
44 static std::shared_ptr<SendmsgTransport>
create(
int fd,
bool initialize );
46 ssize_t
writeMessage( std::shared_ptr<const Message> message, uint32_t serial );
The Sendmsg handles reading and writing over a Unix FD that supports sendmsg().
Definition: sendmsgtransport.h:28
bool is_valid() const
Check if this transport is OK.
Definition: sendmsgtransport.cpp:448
~SendmsgTransport()
Definition: sendmsgtransport.cpp:253
SendmsgTransport(int fd, bool initialize)
Definition: sendmsgtransport.cpp:227
ssize_t writeMessage(std::shared_ptr< const Message > message, uint32_t serial)
Definition: sendmsgtransport.cpp:261
DBUS_CXX_PROPAGATE_CONST(std::unique_ptr< priv_data >) m_priv
int fd() const
Definition: sendmsgtransport.cpp:452
static std::shared_ptr< SendmsgTransport > create(int fd, bool initialize)
Create a SendmsgTransport.
Definition: sendmsgtransport.cpp:257
std::shared_ptr< Message > readMessage()
Definition: sendmsgtransport.cpp:344
void purgeData()
Definition: sendmsgtransport.cpp:456
Definition: transport.h:22
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18