관리-도구
편집 파일: _iplugin.cpython-39.opt-1.pyc
a V��dGC � @ s~ d dl mZ d dl mZ d dlmZmZ d dlm Z G dd� de ee ��ZG dd� de�ZG d d � d e�Z G dd� de �Zd S )� )�ABCMeta)�abstractmethod)�LsmError�ErrorNumber)�with_metaclassc @ s� e Zd ZdZeddd��Zeddd��Zeddd��Zedd d ��Zeddd��Z edd d��Z eddd��Zeddd��Zed dd��Z ed!dd��ZdS )"�IPluginzU Plug-in interface that all plug-ins must implement for basic operation. r c C s dS )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� )�selfZuri�password�timeout�flagsr r �2/usr/lib64/python3.9/site-packages/lsm/_iplugin.py�plugin_register s zIPlugin.plugin_registerc C s dS )zs Sets any time-outs for the plug-in (ms) Returns None on success, else LsmError exception Nr )r �msr r r r �time_out_set s zIPlugin.time_out_setc C s dS )ze Retrieves the current time-out Returns time-out in ms, else raise LsmError Nr �r r r r r �time_out_get'