# Path: lib/xmlrpc.py
# class RTorrentXMLRPC(object):
# 
#     def __init__(self, target):
#         self.info = target
# 
#         if self.info['type'] == CONNECTION_HTTP:
#             self.c = xmlrpc.client.ServerProxy('http://%s:%i%s' % \
#                 (self.info['host'], self.info['port'], \
#                 self.info['url']))
#         else:
#             self.c = xmlrpc2scgi.RTorrentXMLRPCClient(self.info['fd'])
# 
# 
#     def __getattr__(self, attr, **args):
#         return getattr(self.c, attr)


from lib.xmlrpc import RTorrentXMLRPC
import types
"""
.. _torrentfile-class:

TorrentFile
===========

"""


class TorrentFile(object):
    """
    """

    def __init__(self, target):

        self.target = target

# Path: lib/xmlrpc.py
# class RTorrentXMLRPC(object):
# 
#     def __init__(self, target):
#         self.info = target
# 
#         if self.info['type'] == CONNECTION_HTTP:
#             self.c = xmlrpc.client.ServerProxy('http://%s:%i%s' % \
#                 (self.info['host'], self.info['port'], \
#                 self.info['url']))
#         else:
#             self.c = xmlrpc2scgi.RTorrentXMLRPCClient(self.info['fd'])
# 
# 
#     def __getattr__(self, attr, **args):
#         return getattr(self.c, attr)


# Path: model/torrentfile.py
from lib.xmlrpc import RTorrentXMLRPC
import types

"""
.. _torrentfile-class:

TorrentFile
===========

"""


class TorrentFile(object):
    """
    """

    def __init__(self, target):

        self.target = target

        self.s = RTorrentXMLRPC(target)