Commit 00093474 authored by Steven Murray's avatar Steven Murray
Browse files

Removed deadwood method RmcProxy::writeRmcUnmountMsg()

parent 0b38f1e8
......@@ -159,23 +159,6 @@ MessageHeader RmcProxy::readRmcMsgHeader(const int fd) {
return header;
}
//-----------------------------------------------------------------------------
// writeRmcUnmountMsg
//-----------------------------------------------------------------------------
void RmcProxy::writeRmcUnmountMsg(const int fd, const RmcUnmountMsgBody &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_UNMOUNT message: "
<< ne.getMessage().str();
throw ex;
}
}
//-----------------------------------------------------------------------------
// rmcReplyTypeToStr
//-----------------------------------------------------------------------------
......
......@@ -141,15 +141,6 @@ protected:
*/
MessageHeader readRmcMsgHeader(const int fd) ;
/**
* Writes an RMC_SCSI_UNMOUNT 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 writeRmcUnmountMsg(const int fd, const RmcUnmountMsgBody &body) ;
/**
* Sends the specified request to the rmcd daemon and receives the reply
* until success or the specified number of retriable attempts has been
......
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