See: Description
| Interface | Description |
|---|---|
| TMF814CorbaIterator |
| Class | Description |
|---|---|
| TMF814CorbaExceptionLogger | |
| TMF814CorbaIorProcessor |
TMF814 v2.1 implementation of the CORBA IOR Processor
|
| TMF814CorbaIteratorFactory |
Factory class for creating TMF814CorbaIterator objects
|
| TMF814CorbaLogMessages |
Log messages specific for the TMF814 v2.1 implementation
|
| TMF814CorbaNameServiceManager |
TMF814 v2.1 implementation of the CORBA Name Service Manager
|
| TMF814CorbaNmsSession |
NMSSession implementation for the TMF814 v2.1 definition
|
| TMF814CorbaOrbManager |
TMF814 v2.1 implementation of the CORBA ORB Manager
|
| TMF814CorbaProperties |
TMF814 v2.1 implementation of the CORBA Properties
|
| TMF814CorbaPropertiesConstants |
Constants specific for the TMF814 v2.1 CORBA implementation
|
| TMF814CorbaPropertiesFactory |
Factory class for creating TMF814CorbaProperties objects
|
| TMF814CorbaProvider |
Provides CORBA data query and retrieval services using the TMF814 v2.1
implementation.
|
| TMF814CorbaProviderFactory | |
| TMF814CorbaSession |
TMF814 v2.1 implementation of the CORBA Session
|
Classes providing functionality to support the TMF814 v2.1 CORBA implementation.
The ECI LightSoft Collector is a good example to demonstrate the usage of the
TMF814 v2.1 CORBA implementation. The diagram below shows the important
classes involved in developing this Collector:
Below is example code to use the TMF814 v2.1 CORBA implementation in a Collector:
// Get the Collector Property file
propsFile = loadPropertiesFile(propsFileName);
// Create TMF814CorbaProperties for the TMF814 v2.1 implementation
TMF814CorbaPropertiesFactory propFac = new TMF814CorbaPropertiesFactory();
TMF814CorbaProperties corbaProp = propFac.create(propsFile);
// Create TMF814CorbaProvider for the TMF814 v2.1 implementation
TMF814CorbaProviderFactory provFac = new TMF814CorbaProviderFactory();
TMF814CorbaProvider corba = provFac.create(corbaProp);
// Start a CORBA session
corba.startCorbaSession();
// Invoke a CORBA method and retrieve the results through the CORBA Iterator
TMF814CorbaIterator iterator = corba.getAllManagedElements(corbaProp.getIntResultSize(),corbaProp.isBlnDestroyIterator());
while (iterator.hasNext()) {
List<Object> meList = (List<Object>) iterator.next();
// Process all returned results...
for (Object obj : meList) {
// Perform some data processing...
...
}
}
// Invoke a CORBA method and retrieve the results from the ArrayList
List<ManagedElement_T> meResult = new ArrayList<ManagedElement_T>();
try {
meResult = corba.getManagedElement(name);
}
catch (CorbaCollectorException e) {
throw e;
}
// Retrieve the returned result
if ( !meResult.isEmpty() ) {
ManagedElement_T me = (ManagedElement_T) meResult.get(0);
// Perform some data processing...
}
...
// End CORBA session
corba.endCorbaSession();
All classes from this package can be found in tmf814-corba-collector-framework.jar and reference the IDL-generated classes, methods and variables from tmf814-corba-gc.jar.