zypp::media::MediaSMB Class Reference

Implementation class for SMB MediaHandler. More...

#include <MediaSMB.h>

Inheritance diagram for zypp::media::MediaSMB:

zypp::media::MediaHandler zypp::media::MediaCIFS List of all members.

Public Member Functions

 MediaSMB (const Url &url_r, const Pathname &attach_point_hint_r)
virtual ~MediaSMB ()
virtual bool isAttached () const
 True if media is attached.

Protected Member Functions

void mountAsCIFS ()
 MediaCIFS rewrites the vfstype to "cifs" within it's constructor.

Protected Attributes

 MEDIA_HANDLER_API

Private Attributes

const char * _vfstype
 vfstype for mount.

Detailed Description

Implementation class for SMB MediaHandler.

NOTE: The implementation currently serves both, "smb" and "cifs" URL's, but passes "cifs" to the mount command in any case.

See also:
MediaHandler

Definition at line 31 of file MediaSMB.h.


Constructor & Destructor Documentation

zypp::media::MediaSMB::MediaSMB const Url url_r,
const Pathname attach_point_hint_r
 

Definition at line 95 of file MediaSMB.cc.

References MIL.

virtual zypp::media::MediaSMB::~MediaSMB  )  [inline, virtual]
 

Definition at line 57 of file MediaSMB.h.

References zypp::media::MediaHandler::release().


Member Function Documentation

void zypp::media::MediaSMB::mountAsCIFS  )  [inline, protected]
 

MediaCIFS rewrites the vfstype to "cifs" within it's constructor.

Definition at line 50 of file MediaSMB.h.

References _vfstype.

Referenced by zypp::media::MediaCIFS::MediaCIFS().

bool zypp::media::MediaSMB::isAttached  )  const [virtual]
 

True if media is attached.

Reimplemented from zypp::media::MediaHandler.

Definition at line 269 of file MediaSMB.cc.

References zypp::media::MediaHandler::checkAttached().


Member Data Documentation

const char* zypp::media::MediaSMB::_vfstype [private]
 

vfstype for mount.

This is either "smbfs" or "cifs" (rewritten by MediaCIFS). Obsolete: vfstype is allways "cifs".

Definition at line 40 of file MediaSMB.h.

Referenced by mountAsCIFS().

zypp::media::MediaSMB::MEDIA_HANDLER_API [protected]
 

Definition at line 44 of file MediaSMB.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6