org.sblim.wbem.client

Interface CIMEnumeration

All Superinterfaces:
Enumeration
Known Implementing Classes:
CIMEnumerationImpl

public interface CIMEnumeration
extends Enumeration

Provides the mechanisms to stream the response of CIMObjects, returned by the CIMOM.

Method Summary

void
close()
Close the enumeration by throwing away any remaing xml document without parsing it, while keeping the connection available for future requests.
void
close(boolean force)
Close the enumeration by throwing away any remaing xml document without parsing it.
void
fetchAll()
Fetch all the CIMObjects into memory.

Method Details

close

public void close()
            throws IOException
Close the enumeration by throwing away any remaing xml document without parsing it, while keeping the connection available for future requests.

close

public void close(boolean force)
            throws IOException
Close the enumeration by throwing away any remaing xml document without parsing it. If the force argument is true, then it forces to close the connection without receiving any of the remainding XML document from the CIMOM, otherwise reads the rest of the XML document without parsing it.
Parameters:
force -

fetchAll

public void fetchAll()
            throws IOException
Fetch all the CIMObjects into memory. Preventing object loss when the CIMOM to close the connection because it timeout.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.