Exemplo n.º 1
0
 def __del__(self):
     """ Destructor for SearchIterator class """
     if self.search_handle is not None:
         saImmOm.saImmOmSearchFinalize(self.search_handle)
         self.search_handle = None
     if self.handle is not None:
         saImmOm.saImmOmFinalize(self.handle)
         self.handle = None
Exemplo n.º 2
0
    def __del__(self):
        """ Destructor for OmAgentManager class

        Finalize the IMM OM agent handle
        """
        if self.handle is not None:
            saImmOm.saImmOmFinalize(self.handle)
            self.handle = None
Exemplo n.º 3
0
    def __del__(self):
        """ Destructor for CBB class

        Finalize the the CCB
        """
        if self.handle is not None:
            saImmOm.saImmOmFinalize(self.handle)
            self.handle = None
            self.admin_owner = None
            self.ccb_handle = None
Exemplo n.º 4
0
    def __del__(self):
        """ Destructor for ImmOmAccessor class

        Finalize the accessor handle and the IMM OM agent handle
        """
        if self.accessor_handle is not None:
            saImmOm.saImmOmAccessorFinalize(self.accessor_handle)
            self.accessor_handle = None
        if self.handle is not None:
            saImmOm.saImmOmFinalize(self.handle)
            self.handle = None