1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 from flumotion.component.plugs import base
19
20 __version__ = "$Rev$"
21
22
24 """
25 Base class for disker plugs.
26 """
27
29 """
30 Called before disker starts writing data to a new file.
31
32 @param file: the file object
33 @type file: file
34 @param location: the location of the file
35 @type location: str
36 """
37 pass
38
40 """
41 Called after disker stops writing data to a file.
42
43 @param file: the file object
44 @type file: file
45 @param location: the location of the file
46 @type location: str
47 """
48 pass
49