FreeHEP API
Version current

hep.aida.ref.remote.rmi.converters
Class RmiTableConverter

java.lang.Object
  extended byhep.aida.ref.remote.RemoteConverter
      extended byhep.aida.ref.remote.rmi.converters.RmiConverter
          extended byhep.aida.ref.remote.rmi.converters.RmiTableConverter

public class RmiTableConverter
extends RmiConverter

Author:
serbo
Source Code:
RmiTableConverter.java

Field Summary
protected static RmiTableConverter converter
           
 
Fields inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Constructor Summary
protected RmiTableConverter()
          Creates a new instance of RmiTableConverter
 
Method Summary
 Object createAidaObject(String name)
          Creates new instance of type "aidaType".
 RmiTableData createData(ITable hist)
          Create RmiHist1DData structure from an IHistogram1D
 RmiTableData createData(ITable[] arr)
          Create RmiTableData structure from an array of ITable For now just use the first element in array
 Object extractData(Object aidaObject)
          Extract data from AIDA object
static RmiTableConverter getInstance()
          Creates a new instance of RmiTableConverter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteTable hist, RmiTableData data)
          Update data in RemoteHistogram1d from RmiHist1DData and calls setDataValid(true) method.
 
Methods inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

protected static RmiTableConverter converter
Constructor Detail

RmiTableConverter

protected RmiTableConverter()
Creates a new instance of RmiTableConverter

Method Detail

getInstance

public static RmiTableConverter getInstance()
Creates a new instance of RmiTableConverter


createAidaObject

public Object createAidaObject(String name)
Description copied from class: RemoteConverter
Creates new instance of type "aidaType".

Specified by:
createAidaObject in class RemoteConverter

extractData

public Object extractData(Object aidaObject)
Description copied from class: RemoteConverter
Extract data from AIDA object

Specified by:
extractData in class RemoteConverter

updateAidaObject

public boolean updateAidaObject(Object aidaObject,
                                Object newData)
Description copied from class: RemoteConverter
Updates data contained by object.

Specified by:
updateAidaObject in class RemoteConverter

updateData

public hep.aida.IManagedObject updateData(RemoteTable hist,
                                          RmiTableData data)
Update data in RemoteHistogram1d from RmiHist1DData and calls setDataValid(true) method.


createData

public RmiTableData createData(ITable hist)
Create RmiHist1DData structure from an IHistogram1D


createData

public RmiTableData createData(ITable[] arr)
Create RmiTableData structure from an array of ITable For now just use the first element in array


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.