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$"
25
26
28 """
29 Base class for disker plugs.
30 """
31
33 """
34 Called before disker starts writing data to a new file.
35
36 @param file: the file object
37 @type file: file
38 @param location: the location of the file
39 @type location: str
40 """
41 pass
42
44 """
45 Called after disker stops writing data to a file.
46
47 @param file: the file object
48 @type file: file
49 @param location: the location of the file
50 @type location: str
51 """
52 pass
53