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