Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
Engines::fileRef Interface Reference

Interface of fileRef. More...

import "SALOME_Component.idl";

Collaboration diagram for Engines::fileRef:
Collaboration graph

List of all members.

Public Member Functions

Container getContainer ()
boolean addRef (in string machine, in string fileName)
string getRef (in string machine)

Public Attributes

readonly attribute string origFileName
 the original file
readonly attribute string refMachine
 the machine of the original file

Detailed Description

Interface of fileRef.

The fileTransfer and fileRef interfaces provide a file transfer service between different computers.

A fileRef object is associated to an original file (origFileName) on a machine (refMachine). It is created by a container (factoryServer) on refMachine, with createFileRef(in string origFileName) method. The fileRef object maintains a list of (machine,filename) for copies. If a copy exists on myMachine, getRef(myMachine) returns the file name of the copy on myMachine, else returns empy string. If there is no copy on myMachine, method getFileTransfer() from container factoryServer on refMachine provides a fileTransfer object dedicated to CORBA file copy. After the copy, addRef(myMachine, localFileNameOnMyMachine) registers the file name of the copy on myMachine.

Definition at line 708 of file SALOME_Component.idl.

Member Function Documentation

boolean Engines::fileRef::addRef ( in string  machine,
in string  fileName 
string Engines::fileRef::getRef ( in string  machine)

Member Data Documentation

readonly attribute string Engines::fileRef::origFileName

the original file

Definition at line 711 of file SALOME_Component.idl.

readonly attribute string Engines::fileRef::refMachine

the machine of the original file

Definition at line 713 of file SALOME_Component.idl.

The documentation for this interface was generated from the following file: