_responsePort = response_port;
Port::bind(peer);
// response port also keeps track of request port
- _responsePort->slaveBind(*this);
+ _responsePort->responderBind(*this);
}
void
{
panic_if(!isConnected(), "Can't unbind request port %s which is "
"not bound.", name());
- _responsePort->slaveUnbind();
+ _responsePort->responderUnbind();
_responsePort = &defaultResponsePort;
Port::unbind();
}
}
/**
- * Slave port
+ * Response port
*/
ResponsePort::ResponsePort(const std::string& name, SimObject* _owner,
PortID id) : Port(name, id), _requestPort(&defaultRequestPort),
}
void
-ResponsePort::slaveUnbind()
+ResponsePort::responderUnbind()
{
_requestPort = &defaultRequestPort;
Port::unbind();
}
void
-ResponsePort::slaveBind(RequestPort& request_port)
+ResponsePort::responderBind(RequestPort& request_port)
{
_requestPort = &request_port;
Port::bind(request_port);
* Called by the request port to unbind. Should never be called
* directly.
*/
- void slaveUnbind();
+ void responderUnbind();
/**
* Called by the request port to bind. Should never be called
* directly.
*/
- void slaveBind(RequestPort& request_port);
+ void responderBind(RequestPort& request_port);
/**
* Default implementations.