FreeHEP API
Version current

hep.aida.ref.remote
Class RemoteConverter

java.lang.Object
  extended byhep.aida.ref.remote.RemoteConverter
Direct Known Subclasses:
CorbaConverter, RmiConverter

public abstract class RemoteConverter
extends Object

Basic converter for creating and updating RemoteManagedObjects in the client tree. Also can extract data from "aidaType" AIDA object using only AIDA public methods. Concrete implementations should be one per AIDA Type per protocol. See "hep.aida.ref.remote.corba" package for examples.

Author:
serbo
Source Code:
RemoteConverter.java

Field Summary
protected  String aidaType
           
protected  String dataType
           
protected  String protocol
           
 
Constructor Summary
protected RemoteConverter()
          Creates a new instance of CorbaConverter
 
Method Summary
 String aidaType()
           
abstract  Object createAidaObject(String name)
          Creates new instance of type "aidaType".
 String dataType()
           
abstract  Object extractData(Object aidaObject)
          Extract data from AIDA object
 String protocol()
           
abstract  boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

protected String protocol

aidaType

protected String aidaType

dataType

protected String dataType
Constructor Detail

RemoteConverter

protected RemoteConverter()
Creates a new instance of CorbaConverter

Method Detail

protocol

public String protocol()

aidaType

public String aidaType()

dataType

public String dataType()

createAidaObject

public abstract Object createAidaObject(String name)
Creates new instance of type "aidaType".


updateAidaObject

public abstract boolean updateAidaObject(Object aidaObject,
                                         Object newData)
Updates data contained by object.


extractData

public abstract Object extractData(Object aidaObject)
Extract data from AIDA object


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.