Package ldaptor :: Package protocols :: Module pureldap :: Class LDAPAddRequest
[show private | hide private]
[frames | no frames]

Class LDAPAddRequest

    BERBase --+        
              |        
  BERStructured --+    
                  |    
       UserList --+    
                  |    
        BERSequence --+
                      |
 LDAPProtocolOp --+   |
                  |   |
LDAPProtocolRequest --+
                      |
                     LDAPAddRequest


Method Summary
  __init__(self, entry, attributes, encoded, berdecoder, tag)
Initialize the object
  __repr__(self)
  __str__(self)
  decode(self, encoded, berdecoder)
    Inherited from BERStructured
  identification(self)
    Inherited from BERBase
  __cmp__(self, other)
  __eq__(self, other)
  __len__(self)
  __ne__(self, other)
    Inherited from UserList
  __add__(self, other)
  __contains__(self, item)
  __delitem__(self, i)
  __delslice__(self, i, j)
  __ge__(self, other)
  __getitem__(self, i)
  __getslice__(self, i, j)
  __gt__(self, other)
  __iadd__(self, other)
  __imul__(self, n)
  __le__(self, other)
  __lt__(self, other)
  __mul__(self, n)
  __radd__(self, other)
  __rmul__(self, n)
  __setitem__(self, i, item)
  __setslice__(self, i, j, other)
  append(self, item)
  count(self, item)
  extend(self, other)
  index(self, item, *args)
  insert(self, i, item)
  pop(self, i)
  remove(self, item)
  reverse(self)
  sort(self, *args)

Class Variable Summary
int tag = 72                                                                    
    Inherited from LDAPProtocolRequest
int needs_answer = 1                                                                     

Method Details

__init__(self, entry=None, attributes=None, encoded=None, berdecoder=None, tag=None)
(Constructor)

Initialize the object

Example usage:
       l=LDAPAddRequest(entry='cn=foo,dc=example,dc=com',
               attributes=(LDAPAttributeDescription("attrFoo"),
                    BERSet(value=(
                        LDAPAttributeValue("value1"),
                        LDAPAttributeValue("value2"),
                    )),
                    LDAPAttributeDescription("attrBar"),
                    BERSet(value=(
                        LDAPAttributeValue("value1"),
                        LDAPAttributeValue("value2"),
                    )),
                    ))
Overrides:
ldaptor.protocols.pureldap.LDAPProtocolOp.__init__

Class Variable Details

tag

Type:
int
Value:
72                                                                    

Generated by Epydoc 2.1 on Tue Aug 17 17:08:20 2004 http://epydoc.sf.net