FreeHEP API
Version current

hep.aida.ref.remote.corba
Class CorbaTreeServantImpl

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byhep.aida.ref.remote.corba.generated.TreeServantPOA
          extended byhep.aida.ref.remote.corba.CorbaTreeServantImpl
All Implemented Interfaces:
AIDAListener, InvokeHandler, TreeServantOperations

public class CorbaTreeServantImpl
extends TreeServantPOA
implements AIDAListener

Author:
serbo
Source Code:
CorbaTreeServantImpl.java

Field Summary
protected  boolean useValidation
           
 
Constructor Summary
CorbaTreeServantImpl(ORB orb, Tree tree)
           
CorbaTreeServantImpl(ORB orb, Tree tree, TreeClient treeClient)
           
 
Method Summary
 void close()
           
 Any find(String path)
           
 String findRetString(String path)
           
protected  void init()
           
 String[] listObjectNames(String path)
           
 String[] listObjectTypes(String path)
           
 void setUseValidation(boolean state)
          If useValidation = true, client has to call "setValid" method after receiving update from the ManagedObject in order to reseive next update.
 void setValid(String path)
           
 void setValid(String[] path)
           
 void stateChanged(EventObject ev)
           
 EventStruct[] updates()
           
 
Methods inherited from class hep.aida.ref.remote.corba.generated.TreeServantPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useValidation

protected boolean useValidation
Constructor Detail

CorbaTreeServantImpl

public CorbaTreeServantImpl(ORB orb,
                            Tree tree)

CorbaTreeServantImpl

public CorbaTreeServantImpl(ORB orb,
                            Tree tree,
                            TreeClient treeClient)
Method Detail

init

protected void init()

setUseValidation

public void setUseValidation(boolean state)
If useValidation = true, client has to call "setValid" method after receiving update from the ManagedObject in order to reseive next update. If useValidation = false, client receives all updates.


close

public void close()

stateChanged

public void stateChanged(EventObject ev)
Specified by:
stateChanged in interface AIDAListener

listObjectNames

public String[] listObjectNames(String path)
Specified by:
listObjectNames in interface TreeServantOperations

listObjectTypes

public String[] listObjectTypes(String path)
Specified by:
listObjectTypes in interface TreeServantOperations

findRetString

public String findRetString(String path)

setValid

public void setValid(String path)

setValid

public void setValid(String[] path)
Specified by:
setValid in interface TreeServantOperations

updates

public EventStruct[] updates()
Specified by:
updates in interface TreeServantOperations

find

public Any find(String path)
Specified by:
find in interface TreeServantOperations

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.