Show Children Hide Children

Main FTS Pages
FtsRelease22
Install
Configuration
Administration
Procedures
Operations
Development
Previous FTSes
FtsRelease21
FtsRelease21
All FTS Pages
FtsWikiPages
Last Page Update
PaoloTedesco
2009-01-22

Transfer Url Copy

The actual transfer layer.

Communication with transfer agents.

Inter-process communication with transfer agents is realized via a memory mapped file.

Interface arguments and memory mapped data structures

The TransferUrlCopy class is the actual responsible of transfers in url-copy mode.

TransferUrlCopy::Args holds the information needed to start the transfer.

TransferUrlCopyStat is used to return information about a running transfer.

UrlCopyStat is used only internally by the transfer-url-copy library; UrlCopyStat and related structures are used for writing and reading memory mapped files, and they contain all the above information (operation parameters and transfer statistics).

The srm-copy part of the library has an equivalent data hierarchy.

tuc-args.jpeg

The following diagram shows the use of transfer data structures between agents and transfer-url-copy.

During the execution of the Fetch channel action, the TransferService class creates and fills the TransferUrlCopy::Args structure and passes it to the start method of TransferUrlCopy. TransferUrlCopy translates the Args into a memory-mappable UrlCopyStat.

During the execution of the CheckState action the TransferService class invokes status on TransferUrlCopy. TransferUrlCopy, in turn, reads the memory-mapped UrlCopyStat structure; extracts from UrlCopyStat the information related to the transfer progress and fills a TransferUrlCopyStat object that is returned to TransferService.

agents-tuc.jpeg

mem files structure

transfer information structures class diagram


Last edit: PaoloTedesco on 2009-01-22 - 13:32
Number of topics: 1

Maintainer: PaoloTedesco


Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpeg TransferUrlCopyStat.jpeg r1 manage 183.4 K 2008-01-23 - 17:35 PaoloTedesco transfer information structures class diagram
JPEGjpeg agents-tuc.jpeg r2 r1 manage 59.0 K 2008-01-24 - 11:33 PaoloTedesco Use of transfer data structures between agents and transfer-url-copy
JPEGjpeg tuc-args.jpeg r1 manage 83.2 K 2008-01-24 - 11:20 PaoloTedesco interface arguments and memory mapped data structures
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2009-01-22 - PaoloTedesco
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback