8 #ifndef DBUS_CXX_SIMPLETRANSPORT_H
9 #define DBUS_CXX_SIMPLETRANSPORT_H
42 static std::shared_ptr<SimpleTransport>
create(
int fd,
bool initialize );
44 ssize_t
writeMessage( std::shared_ptr<const Message> message, uint32_t serial );
The SimpleTransport handles reading and writing over a Unix FD.
Definition: simpletransport.h:26
~SimpleTransport()
Definition: simpletransport.cpp:74
bool is_valid() const
Check if this transport is OK.
Definition: simpletransport.cpp:253
ssize_t writeMessage(std::shared_ptr< const Message > message, uint32_t serial)
Definition: simpletransport.cpp:84
int fd() const
Definition: simpletransport.cpp:257
void purgeData()
Definition: simpletransport.cpp:261
static std::shared_ptr< SimpleTransport > create(int fd, bool initialize)
Create a SimpleTransport.
Definition: simpletransport.cpp:80
DBUS_CXX_PROPAGATE_CONST(std::unique_ptr< priv_data >) m_priv
std::shared_ptr< Message > readMessage()
Definition: simpletransport.cpp:108
SimpleTransport(int fd, bool initialize)
Definition: simpletransport.cpp:54
Definition: transport.h:22
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18