See: Description
Class | Description |
---|---|
Corba3GPPIorProcessor |
CORBA 3GPP v2.5 implementation of the Corba IOR Processor
|
Corba3GPPLogMessages |
Log messages specific for the CORBA 3GPP v2.5 implementation
|
Corba3GPPOrbManager |
CORBA 3GPP v2.5 implementation of the Corba ORB Manager
|
Corba3GPPProperties |
CORBA 3GPP v2.5 implementation of CorbaProperties
|
Corba3GPPPropertiesConstants |
Constants for the CORBA 3GPP v2.5 implementation of CorbaProperties
|
Corba3GPPProvider |
CORBA 3GPP v2.5 implementation of CorbaProvider
|
Corba3GPPSession |
CORBA 3GPP v2.5 implementation of CorbaSession
|
Classes providing functionality to support the 3GPP v2.5 CORBA implementation.
Below is example code to use the 3GPP v2.5 CORBA implementation in a Collector:
final String CORBA_IMPL_TYPE = "3GPP";
// Get the Collector Property file
propsFile = loadPropertiesFile(propsFileName);
// Create CorbaProperties for the 3GPP v2.5 implementation
CorbaPropertiesFactory propFac = new CorbaPropertiesFactory();
corbaProp = (Corba3GPPProperties) propFac.createCorbaProperties(FACTORY_TYPE_3GPP, propsFile);
// Create CorbaProvider for the 3GPP v2.5 implementation
CorbaProviderFactory factory = new CorbaProviderFactory();
provider = (Corba3GPPProvider) factory.createCorbaProvider(FACTORY_TYPE_3GPP, corbaProp);
// Start a CORBA session
corba.startCorbaSession();
// Create a start date from yesterday
Calendar cal = Calendar.getInstance();
Date startDate = new Date();
startDate = cal.getTime();
cal.add(Calendar.DATE, -1);
// Invoke a CORBA method and retrieve the results
ArrayList<FileInfoType> result = (ArrayList<FileInfoType>) provider.list_available_files((short) 3, startDate, new Date());
for (FileInfoType finfo : result) {
// Perform some data processing...
...
}
// End CORBA session
corba.endCorbaSession();
All classes from this package can be found in c3gpp-corba-collector-framework.jar and reference the IDL-generated classes, methods and variables from c3gpp-corba-gc.jar.