Commit 0b38f1e8 authored by Steven Murray's avatar Steven Murray
Browse files

Removed deadwood method RmcProxy::writeRmcMountMsg()

parent 1415e1a2
......@@ -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.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment