Skip to content
Snippets Groups Projects
Commit ed1ce6f4 authored by Steven Murray's avatar Steven Murray
Browse files

Removed deadwood method RmcProxy::writeRmcMountMsg()

parent 60766d22
No related branches found
Tags v0.0-17
No related merge requests found
......@@ -128,23 +128,6 @@ int RmcProxy::connectToRmc()
return smartConnectSock.release();
}
//-----------------------------------------------------------------------------
// writeRmcMountMsg
//-----------------------------------------------------------------------------
void RmcProxy::writeRmcMountMsg(const int fd, const RmcMountMsgBody &body) {
char buf[RMC_MSGBUFSIZ];
const size_t len = marshal(buf, body);
try {
writeBytes(fd, m_netTimeout, len, buf);
} catch(cta::exception::Exception &ne) {
cta::exception::Exception ex;
ex.getMessage() << "Failed to write RMC_SCSI_MOUNT message: "
<< ne.getMessage().str();
throw ex;
}
}
//-----------------------------------------------------------------------------
// readRmcMsgHeader
//-----------------------------------------------------------------------------
......
......@@ -133,15 +133,6 @@ protected:
*/
int connectToRmc() const ;
/**
* Writes an RMC_SCSI_MOUNT message with the specifed body to the specified
* connection.
*
* @param fd The file descriptor of the connection.
* @param body The body of the message.
*/
void writeRmcMountMsg(const int fd, const RmcMountMsgBody &body) ;
/**
* Reads the header of an RMC_MAGIC message from the specified connection.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment