public class BACIRemoteAccess extends java.lang.Object implements java.lang.Runnable, RemoteAccess
| Modifier and Type | Class and Description |
|---|---|
class |
BACIRemoteAccess.Dispatcher |
| Modifier and Type | Field and Description |
|---|---|
static short |
ATTRIBUTE |
static java.lang.String |
CONNECT_NON_STICKY_FLAG |
static short |
DEVICE |
static short |
DOMAIN |
static short |
DUMMY |
static java.lang.String |
IR_CORBALOC |
static java.lang.String |
MANAGER_CORBALOC |
static int |
POLL_SLEEP |
static int |
POLL_TIMEOUT |
static short |
PROPERTY |
static java.lang.String |
PROPERTY_POOL_TIMEOUT |
static java.lang.String |
strict |
static short |
TRANSIENT |
static short |
TYPE |
| Constructor and Description |
|---|
BACIRemoteAccess(TreeHandlerBean parent,
NotificationBean notifier,
java.util.Hashtable devices)
ESORemoteAccess constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Insert the method's description here.
|
OETreeNode[] |
explodeDummyNode(BACITreeDataNode node) |
OETreeNode[] |
explodeRootNodeByName()
Explodes the root node and groups the devices by their parent devices.
|
OETreeNode[] |
explodeTreeNode(OETreeNode node)
Insert the method's description here.
|
boolean |
getCaching()
Insert the method's description here.
|
org.omg.DynamicAny.DynAnyFactory |
getDynFact() |
javax.swing.JMenu |
getEngineMenu()
Return a special engine-specific menu to be displayed in the GUI
|
Invocation[] |
getInvocations()
Insert the method's description here.
|
BACITreeDataNode |
getTreeForName(BACITreeDataNode root,
int pathIndex,
java.lang.String[] names)
recursive function that builds the tree for the given dummy node's name.
|
OETreeNode[] |
getTreeRoots()
Insert the method's description here.
|
void |
initialize()
Insert the method's description here.
|
Contained |
lookupId(java.lang.String id)
Insert the method's description here.
|
void |
removeSingleDeviceDummies(BACITreeDataNode parent,
int index,
BACITreeDataNode node)
Replaces dummy nodes which have one device node in them with the device node itself
|
void |
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. |
void |
setCaching(boolean value)
Insert the method's description here.
|
void |
setConnectNonSticky(boolean connectNonSticky) |
void |
synchronizeInternalParentConnect(BACIRemoteNode baciNode) |
public static final short DOMAIN
public static final short TYPE
public static final short DEVICE
public static final short PROPERTY
public static final short ATTRIBUTE
public static final short TRANSIENT
public static final short DUMMY
public static int POLL_TIMEOUT
public static final int POLL_SLEEP
public static final java.lang.String MANAGER_CORBALOC
public static final java.lang.String IR_CORBALOC
public static final java.lang.String PROPERTY_POOL_TIMEOUT
public static final java.lang.String CONNECT_NON_STICKY_FLAG
public static final java.lang.String strict
public BACIRemoteAccess(TreeHandlerBean parent, NotificationBean notifier, java.util.Hashtable devices)
public void destroy()
destroy in interface RemoteAccesspublic OETreeNode[] explodeRootNodeByName()
public BACITreeDataNode getTreeForName(BACITreeDataNode root, int pathIndex, java.lang.String[] names)
root - dummy node to which the subtree will be attachedpathIndex - the subtree of which dummy should be found or created if not foundnames - final dummy's name "dummy1/dummy2/.../finaldummy", broken into array
{"dummy1", "dummy2", ..., "finaldummy"}public void removeSingleDeviceDummies(BACITreeDataNode parent, int index, BACITreeDataNode node)
parent - index - node - public OETreeNode[] explodeTreeNode(OETreeNode node)
explodeTreeNode in interface RemoteAccessnode - si.ijs.acs.objectexplorer.engine.OETreeDataNodepublic OETreeNode[] explodeDummyNode(BACITreeDataNode node)
public boolean getCaching()
public javax.swing.JMenu getEngineMenu()
RemoteAccessgetEngineMenu in interface RemoteAccessRemoteAccesspublic Invocation[] getInvocations()
getInvocations in interface RemoteAccesspublic OETreeNode[] getTreeRoots()
getTreeRoots in interface RemoteAccesspublic void initialize()
initialize in interface RemoteAccesspublic void synchronizeInternalParentConnect(BACIRemoteNode baciNode)
public Contained lookupId(java.lang.String id)
id - java.lang.Stringpublic void run()
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.
run in interface java.lang.RunnableThread.run()public void setCaching(boolean value)
public void setConnectNonSticky(boolean connectNonSticky)
connectNonSticky - the connectNonSticky to setpublic org.omg.DynamicAny.DynAnyFactory getDynFact()