← Back
Editing: _iplugin.cpython-312.opt-1.pyc
� V��dGC � � � d dl mZ d dl mZ d dlmZmZ d dlm Z G d� d e ee � � Z G d� de� Z G d � d e� Z G d� de � Zy )� )�ABCMeta)�abstractmethod)�LsmError�ErrorNumber)�with_metaclassc �� � e Zd ZdZed d�� Zed d�� Zed d�� Zed d�� Zed d�� Z ed d�� Z ed d�� Zed d �� Zedd�� Z ed d�� Zy )�IPluginzU Plug-in interface that all plug-ins must implement for basic operation. c � � y)z� Method first called to setup the plug-in (except for plugin_info) This would be the place to make a connection to the array. Returns None on success, else LsmError exception N� )�self�uri�password�timeout�flagss �3/usr/lib64/python3.12/site-packages/lsm/_iplugin.py�plugin_registerzIPlugin.plugin_register � � � � c � � y)zs Sets any time-outs for the plug-in (ms) Returns None on success, else LsmError exception Nr )r �msr s r �time_out_setzIPlugin.time_out_set � � � r c � � y)ze Retrieves the current time-out Returns time-out in ms, else raise LsmError Nr �r r s r �time_out_getzIPlugin.time_out_get'