8 #ifndef DBUSCXX_TRANSPORT_H
9 #define DBUSCXX_TRANSPORT_H
33 virtual ssize_t
writeMessage( std::shared_ptr<const Message> message, uint32_t serial ) = 0;
55 virtual int fd()
const = 0;
64 static std::shared_ptr<Transport>
open_transport( std::string address );
Definition: transport.h:22
virtual int fd() const =0
Returns the file descriptor that this transport acts on.
virtual bool is_valid() const =0
Check to see if this transport is valid.
virtual std::shared_ptr< Message > readMessage()=0
Read a message from the transport stream.
virtual ~Transport()
Definition: transport.cpp:173
std::vector< uint8_t > m_serverAddress
Definition: transport.h:67
static std::shared_ptr< Transport > open_transport(std::string address)
Open and return a transport based off of the given address.
Definition: transport.cpp:175
virtual ssize_t writeMessage(std::shared_ptr< const Message > message, uint32_t serial)=0
Writes a message to the transport stream.
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18