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