# Class e.p.s.s.SmbWin32Resource(ResourceProvider):

Part of elisa.plugins.smbwin32.smbwin32_resource View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
52 | Method | __init__ | Undocumented
55 | Method | initialize | Initialize the component.
71 | Method | get | Simple method to retrieve smb shares. You can access it with `smb://` to

Inherited from ResourceProvider:

Line # | Kind | Name | Docs
--- | --- | --- | ---
94 | Method | post | Update the resource pointed by `uri` with `parameters`.
107 | Method | put | Put one resource into another. Both resources are identified with URIs.
129 | Method | delete | Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
142 | Method | clean | Clean the component.

def __init__(self):
overrides elisa.core.log.Loggable.__init__
Undocumented
def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

This method is called by `Component.create` to finish the initialization of a component.

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

def get(self, uri, model):
overrides elisa.core.components.resource_provider.ResourceProvider.get

Simple method to retrieve smb shares. You can access it with `smb://` to get all servers that have shares or with `smb://servername` to get all shares of the specified server.

In return you get a *new* `elisa.plugins.smbwin32.models.ServicesContainer`