1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
7 package Amanda::XferServer;
9 use base qw(DynaLoader);
11 require Amanda::MainLoop;
12 require Amanda::Device;
13 require Amanda::Header;
14 package Amanda::XferServerc;
15 bootstrap Amanda::XferServer;
16 package Amanda::XferServer;
19 # ---------- BASE METHODS -------------
21 package Amanda::XferServer;
24 my ($classname,$obj) = @_;
25 return bless $obj, $classname;
35 my ($self,$field) = @_;
36 my $member_func = "swig_${field}_get";
37 $self->$member_func();
41 my ($self,$field,$newval) = @_;
42 my $member_func = "swig_${field}_set";
43 $self->$member_func($newval);
52 # ------- FUNCTION WRAPPERS --------
54 package Amanda::XferServer;
56 *xfer_source_device = *Amanda::XferServerc::xfer_source_device;
57 *xfer_dest_device = *Amanda::XferServerc::xfer_dest_device;
58 *xfer_source_holding = *Amanda::XferServerc::xfer_source_holding;
59 *xfer_source_holding_get_bytes_read = *Amanda::XferServerc::xfer_source_holding_get_bytes_read;
60 *xfer_dest_taper_splitter = *Amanda::XferServerc::xfer_dest_taper_splitter;
61 *xfer_dest_taper_cacher = *Amanda::XferServerc::xfer_dest_taper_cacher;
62 *xfer_dest_taper_directtcp = *Amanda::XferServerc::xfer_dest_taper_directtcp;
63 *xfer_dest_taper_start_part = *Amanda::XferServerc::xfer_dest_taper_start_part;
64 *xfer_dest_taper_use_device = *Amanda::XferServerc::xfer_dest_taper_use_device;
65 *xfer_dest_taper_cache_inform = *Amanda::XferServerc::xfer_dest_taper_cache_inform;
66 *xfer_dest_taper_get_part_bytes_written = *Amanda::XferServerc::xfer_dest_taper_get_part_bytes_written;
67 *xfer_source_recovery = *Amanda::XferServerc::xfer_source_recovery;
68 *xfer_source_recovery_start_part = *Amanda::XferServerc::xfer_source_recovery_start_part;
69 *xfer_source_recovery_use_device = *Amanda::XferServerc::xfer_source_recovery_use_device;
70 *xfer_source_recovery_get_bytes_read = *Amanda::XferServerc::xfer_source_recovery_get_bytes_read;
72 # ------- VARIABLE STUBS --------
74 package Amanda::XferServer;
83 Amanda::XferServer - server-only parts of Amanda::Xfer
85 This package is automatically imported into L<Amanda::Xfer> if it
86 exists; it is completely documented there.
92 package Amanda::Xfer::Source::Device;
95 @ISA = qw( Amanda::Xfer::Element );
101 Amanda::XferServer::xfer_source_device(@_);
104 package Amanda::Xfer::Dest::Device;
107 @ISA = qw( Amanda::Xfer::Element );
113 Amanda::XferServer::xfer_dest_device(@_);
116 package Amanda::Xfer::Source::Holding;
119 @ISA = qw( Amanda::Xfer::Element );
125 Amanda::XferServer::xfer_source_holding(@_);
127 *get_bytes_read = *Amanda::XferServer::xfer_source_holding_get_bytes_read;
129 package Amanda::Xfer::Dest::Taper;
132 @ISA = qw( Amanda::Xfer::Element );
133 *use_device = *Amanda::XferServer::xfer_dest_taper_use_device;
134 *start_part = *Amanda::XferServer::xfer_dest_taper_start_part;
135 *cache_inform = *Amanda::XferServer::xfer_dest_taper_cache_inform;
136 *get_part_bytes_written = *Amanda::XferServer::xfer_dest_taper_get_part_bytes_written;
138 package Amanda::Xfer::Dest::Taper::Splitter;
141 @ISA = qw( Amanda::Xfer::Dest::Taper );
147 Amanda::XferServer::xfer_dest_taper_splitter(@_);
150 package Amanda::Xfer::Dest::Taper::Cacher;
153 @ISA = qw( Amanda::Xfer::Dest::Taper );
159 Amanda::XferServer::xfer_dest_taper_cacher(@_);
162 package Amanda::Xfer::Dest::Taper::DirectTCP;
165 @ISA = qw( Amanda::Xfer::Dest::Taper );
171 Amanda::XferServer::xfer_dest_taper_directtcp(@_);
174 package Amanda::Xfer::Source::Recovery;
177 @ISA = qw( Amanda::Xfer::Element );
183 Amanda::XferServer::xfer_source_recovery(@_);
185 *start_part = *Amanda::XferServer::xfer_source_recovery_start_part;
186 *use_device = *Amanda::XferServer::xfer_source_recovery_use_device;
187 *get_bytes_read = *Amanda::XferServer::xfer_source_recovery_get_bytes_read;