Classes | Public Member Functions | Static Public Attributes | Package Functions

si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess Class Reference

Inheritance diagram for si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess:
si.ijs.acs.objectexplorer.engine.RemoteAccess

List of all members.

Classes

class  BACIAttributeNameComparator
class  BACIOperationNameComparator
class  CallbackImpl
class  CBTimer
class  ClientImpl
class  Dispatcher
class  MyComparator
class  ServerMessage
class  ServerMessageHolder

Public Member Functions

 BACIRemoteAccess (TreeHandlerBean parent, NotificationBean notifier, Hashtable devices)
synchronized void destroy ()
synchronized OETreeNode[] explodeRootNodeByName ()
BACITreeDataNode getTreeForName (BACITreeDataNode root, int pathIndex, String[] names)
void removeSingleDeviceDummies (BACITreeDataNode parent, int index, BACITreeDataNode node)
OETreeNode[] explodeTreeNode (OETreeNode node)
synchronized OETreeNode[] explodeDummyNode (BACITreeDataNode node)
boolean getCaching ()
javax.swing.JMenu getEngineMenu ()
Invocation[] getInvocations ()
OETreeNode[] getTreeRoots ()
void initialize ()
void synchronizeInternalParentConnect (BACIRemoteNode baciNode)
Contained lookupId (String id)
void run ()
void setCaching (boolean value)
void setConnectNonSticky (boolean connectNonSticky)
org.omg.DynamicAny.DynAnyFactory getDynFact ()

Static Public Attributes

static final short DOMAIN = 0
static final short TYPE = 1
static final short DEVICE = 2
static final short PROPERTY = 3
static final short ATTRIBUTE = 4
static final short TRANSIENT = 5
static final short DUMMY = 6
static int POLL_TIMEOUT = 5000
static final int POLL_SLEEP = 50
static final String MANAGER_CORBALOC = "ACS.manager"
static final String IR_CORBALOC = "ACS.repository"
static final String PROPERTY_POOL_TIMEOUT = "objexp.pool_timeout"
static final String CONNECT_NON_STICKY_FLAG = "objexp.connect_non_sticky"
static final String strict = "false"

Package Functions

synchronized void connect (Introspectable target)
synchronized void disconnect (Introspectable target)
Attribute[] getAttributes (BACIRemote target)
Dispatcher getDispatcher ()
Icon getIcon (short type)
BACIIntrospector getIntrospector ()
NotificationBean getNotifier ()
Operation[] getOperations (BACIRemote target)
java.lang.Object invoke (BACIRemote node, BACIOperation op, java.lang.Object[] explicitParams, RemoteResponseCallback cb)
BACIRemoteCall invokeAccessor (BACIAttribute att)
BACIRemoteCall invokeMutator (BACIAttribute att)
boolean isStrict ()

Detailed Description

Insert the type's description here. Creation date: (1.11.2000 13:00:27)

Author:
rbertoncelj

Constructor & Destructor Documentation

si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.BACIRemoteAccess ( TreeHandlerBean  parent,
NotificationBean  notifier,
Hashtable  devices 
)

ESORemoteAccess constructor comment.

References si.ijs.acs.objectexplorer.NotificationBean.reportDebug().


Member Function Documentation

synchronized void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.connect ( Introspectable  target  )  [package]

Insert the method's description here. Creation date: (1.11.2000 13:00:27)

Parameters:
i si.ijs.acs.objectexplorer.engine.Introspectable

Todo:
GCH 2006.10.18 Here we throw a local exception. If we do not do this, objexp does not work properly any more. But things should be different. The problem is that I did not understand what happens upstream this call if I do not throw the exception. In practice the only bad effect of throwing the exception are error traces in the console that probably should not be there.

References si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteNode.getCORBARef().

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteNode.connect().

synchronized void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.destroy (  ) 
boolean si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getCaching (  ) 

Insert the method's description here. Creation date: (6/29/2001 11:01:21 AM)

Returns:
boolean

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIMenu.BACIMenu().

Dispatcher si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getDispatcher (  )  [package]

Insert the method's description here. Creation date: (13.11.2000 22:30:17)

Returns:
si.ijs.acs.objectexplorer.engine.BACI.Dispatcher
javax.swing.JMenu si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getEngineMenu (  ) 
BACIIntrospector si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getIntrospector (  )  [package]

Insert the method's description here. Creation date: (13.11.2000 18:18:34)

Returns:
si.ijs.acs.objectexplorer.engine.BACI.BACIIntrospector
Invocation [] si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getInvocations (  ) 

Insert the method's description here. Creation date: (1.11.2000 15:02:45)

Returns:
si.ijs.acs.objectexplorer.engine.Invocation[]

Implements si.ijs.acs.objectexplorer.engine.RemoteAccess.

NotificationBean si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getNotifier (  )  [package]
BACITreeDataNode si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getTreeForName ( BACITreeDataNode  root,
int  pathIndex,
String[]  names 
)

recursive function that builds the tree for the given dummy node's name.

Parameters:
root dummy node to which the subtree will be attached
pathIndex the subtree of which dummy should be found or created if not found
names final dummy's name "dummy1/dummy2/.../finaldummy", broken into array {"dummy1", "dummy2", ..., "finaldummy"}
Returns:

References si.ijs.acs.objectexplorer.engine.BACI.BACITreeDataNode.childrenHolder, si.ijs.acs.objectexplorer.engine.BACI.RemoteNodeCouple.deviceByName, si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.DOMAIN, si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.DUMMY, si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getIcon(), si.ijs.acs.objectexplorer.OETreeNode.getName(), and si.ijs.acs.objectexplorer.TreeHandlerBean.getTreeByName().

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.explodeRootNodeByName().

OETreeNode [] si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.getTreeRoots (  ) 

Insert the method's description here. Creation date: (1.11.2000 21:18:02)

Returns:
si.ijs.acs.objectexplorer.engine.OETreeDataNode[]

Implements si.ijs.acs.objectexplorer.engine.RemoteAccess.

References si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.explodeTreeNode().

java.lang.Object si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.invoke ( BACIRemote  node,
BACIOperation  op,
java.lang.Object[]  explicitParams,
RemoteResponseCallback  cb 
) [package]
BACIRemoteCall si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.invokeMutator ( BACIAttribute  att  )  [package]
boolean si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.isStrict (  )  [package]
Contained si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.lookupId ( String  id  ) 

Insert the method's description here. Creation date: (29.11.2000 0:36:08)

Returns:
org.omg.CORBA.InterfaceDef
Parameters:
id java.lang.String

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIIntrospector.IDtoClassName().

void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.removeSingleDeviceDummies ( BACITreeDataNode  parent,
int  index,
BACITreeDataNode  node 
)

Replaces dummy nodes which have one device node in them with the device node itself

Parameters:
parent 
index 
node 

References si.ijs.acs.objectexplorer.engine.BACI.BACITreeDataNode.childrenHolder.

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.explodeRootNodeByName().

void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.run (  ) 

When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

See also:
java.lang.Thread.run()

References si.ijs.acs.objectexplorer.NotificationBean.reportDebug().

void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.setCaching ( boolean  value  ) 

Insert the method's description here. Creation date: (6/29/2001 10:59:00 AM)

void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.setConnectNonSticky ( boolean  connectNonSticky  ) 
Parameters:
connectNonSticky the connectNonSticky to set

Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIMenu.BACIMenu().

void si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.synchronizeInternalParentConnect ( BACIRemoteNode  baciNode  ) 

Member Data Documentation

final String si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.CONNECT_NON_STICKY_FLAG = "objexp.connect_non_sticky" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties