Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
ed1ce6f4
Commit
ed1ce6f4
authored
4 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Removed deadwood method RmcProxy::writeRmcMountMsg()
parent
60766d22
No related branches found
Branches containing commit
Tags
v0.0-17
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mediachanger/RmcProxy.cpp
+0
-17
0 additions, 17 deletions
mediachanger/RmcProxy.cpp
mediachanger/RmcProxy.hpp
+0
-9
0 additions, 9 deletions
mediachanger/RmcProxy.hpp
with
0 additions
and
26 deletions
mediachanger/RmcProxy.cpp
+
0
−
17
View file @
ed1ce6f4
...
...
@@ -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
//-----------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
mediachanger/RmcProxy.hpp
+
0
−
9
View file @
ed1ce6f4
...
...
@@ -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.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment