Segment * bus_
Bus which is connected to the socket.
#define assert(condition)
bool isConnectedTo(const Socket &socket) const
Connection(Socket &socket, Segment &bus)
bool isConnectedTo(const Bus &bus) const
void detachBus(Segment &bus)
static const std::string OSKEY_BUS
ObjectState attribute key for bus name.
static const std::string OSKEY_SEGMENT
ObjectState attribute key for segment name.
Socket * socket_
Socket which is connected to the bus.
ObjectState * saveState() const
static const std::string OSKEY_SOCKET
ObjectState attribute key for socket name.
static const std::string OSNAME_CONNECTION
ObjectState name for Connection.
void setAttribute(const std::string &name, const std::string &value)