FreeHEP API
Version v1.2.2

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

java.lang.Object
  |
  +--hep.aida.ref.remote.RemoteConverter
        |
        +--hep.aida.ref.remote.rmi.converters.RmiConverter
              |
              +--hep.aida.ref.remote.rmi.converters.RmiHist1DConverter

public class RmiHist1DConverter
extends RmiConverter

Author:
serbo

Field Summary
 
Fields inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Method Summary
 Object createAidaObject(String name)
          Creates new instance of type "aidaType".
 RmiHist1DData createData(hep.aida.IHistogram1D hist)
          Create RmiHist1DData structure from an IHistogram1D
 Object extractData(Object aidaObject)
          Extract data from AIDA object
static RmiHist1DConverter getInstance()
          Creates a new instance of RmiHist1DAdapter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteHistogram1D hist, RmiHist1DData 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
 

Method Detail

getInstance

public static RmiHist1DConverter getInstance()
Creates a new instance of RmiHist1DAdapter


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(RemoteHistogram1D hist,
                                          RmiHist1DData data)
Update data in RemoteHistogram1d from RmiHist1DData and calls setDataValid(true) method.


createData

public RmiHist1DData createData(hep.aida.IHistogram1D hist)
Create RmiHist1DData structure from an IHistogram1D


FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.