Name

DavSession

Synopsis

class DavSession (SimpleWrappedObjectSernaApi::SimpleWrappedObject) :
  // types
  typedef DavManager::OpStatus OpStatus;

  # construct/copy/destruct
  __init__()
  __init__(const DavSession &)
  DavSession& operator=(const DavSession &)
  __del__()

  # public member functions

  DavIoRequestHandle * open(const Url &, int, OpStatus &) 
  OpStatus listCollection(const Url &, const PropertyNode &) 
  OpStatus makeCollection(const Url &) 
  OpStatus getResourceInfo(const Url &, const PropertyNode &) 
  OpStatus lock(const Url &, DavManager::LockOp, int) 

  # private member functions

Description

Implements session. If session persistence is enabled for protocol, session can be re-used for multiple requests.

DavSession construct/copy/destruct

  1. __init__()


  2. __init__(const DavSession & )


  3. DavSession& operator=(const DavSession & )


  4. __del__()


DavSession public member functions

  1. DavIoRequestHandle * open(const Url & , int , OpStatus & )

    An I/O handle factory. I/O handle is required for read/write ops.


  2. OpStatus listCollection(const Url & url, const PropertyNode & to)

    Implements collection listing.


  3. OpStatus makeCollection(const Url & url)

    Collection create request.


  4. OpStatus getResourceInfo(const Url & url, const PropertyNode & to)

    Information about the collection (collection type, entries).


  5. OpStatus lock(const Url & url, DavManager::LockOp op, int key)

    Implements locking, if supported.


DavSession private member functions