Skip to content
Snippets Groups Projects
Commit 2b0fb8e7 authored by Eric Cano's avatar Eric Cano
Browse files

Simplified the interface of the TapedProxy and TapeServerReporter.

The TapeServerReporter, which is the main interface for the tape thread and tasks,
now has a simple reportState() function instead of mnay ad-hoc ones. The only ones
remaining are reportTapeUnmountedForRetrieve() and reportDiskCompleteForRetrieve()
as they allow managing the special case of retrieve where the session can from
Running to either ShutingDown or DrainingToDisk depending on which order the
threads complete.

The actual calls to send messages to taped are now 3: reportState,
addLog, removeLog.
parent dc29744f
Branches
Tags
No related merge requests found
Showing
with 172 additions and 272 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment