|
New Controls Work JDK 1.3 API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.fnal.controls.acnet.AcnetNodeTables
Allows access to the Acnet node tables. The fields supported include trunk, node, Acnet node name, IP node name, and IP address. Information about the LOCAL node is also maintained.
Fields inherited from interface gov.fnal.controls.db.SybaseServer.Constants |
ADBS, BDBS, DDBS, MDBS |
Constructor Summary | |
AcnetNodeTables()
|
Method Summary | |
static boolean |
doesBigMes(short trunk,
short node)
Inquire as the the capability of a node to handle big messages (32K bytes). |
static String |
getAcnetFromIPName(String name)
Get the Node object corresponding to an ip name |
static String |
getAcnetName(short trunk,
short node)
Get the Acnet node name corresponding to a trunk and node. |
protected static void |
getAcnetNodeTables()
|
static short[] |
getAltTrunkNode(short trunk,
short node)
Get the alternate Acnet trunk and node numbers corresponding to a trunk and node. |
static short[] |
getAltTrunkNode(String name)
Get the alternate Acnet trunk and node numbers corresponding to a name. |
static short[] |
getDaqTrunkNode(short trunk,
short node)
Get the trunk and node number of the data acquisition consolidator node associated with the input trunk and node. |
static InetAddress |
getInetAddress(short trunk,
short node)
Get the IP address for a specific Acnet trunk and node. |
static String |
getIpName(String name)
Get the IP node name corresponding to an Acnet name |
static String |
getLocalAcnetName()
Get the LOCAL Acnet node name |
static int |
getLocalNode()
Get the LOCAL Acnet node. |
static int |
getLocalTrunk()
Get the LOCAL Acnet trunk. |
static short[] |
getLocalTrunkNode()
Get the LOCAL Acnet trunk and node number |
static short[] |
getTrunkNode(String name)
Get the Acnet trunk and node numbers corresponding to a name. |
static boolean |
setDaqUpDown(short trunk,
short node,
boolean upFlag)
Set the operating status of a data acquisition consolidation server to either UP or DOWN. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AcnetNodeTables()
Method Detail |
protected static void getAcnetNodeTables()
public static InetAddress getInetAddress(short trunk, short node)
trunk
- the trunk numbernode
- the node numberpublic static boolean doesBigMes(short trunk, short node)
trunk
- the trunk numbernode
- the node numberpublic static boolean setDaqUpDown(short trunk, short node, boolean upFlag)
trunk
- the trunk number of the daqnode
- the node number of the daqupFlag
- true = UP, false = DOWNpublic static short[] getTrunkNode(String name)
name
- the Acnet node namepublic static short[] getAltTrunkNode(String name)
name
- the Acnet node namepublic static short[] getAltTrunkNode(short trunk, short node)
trunk
- the trunk numbernode
- the node numberpublic static String getAcnetName(short trunk, short node)
trunk
- the trunk numbernode
- the node numberpublic static String getIpName(String name)
name
- the Acnet node namepublic static short[] getDaqTrunkNode(short trunk, short node)
trunk
- the trunk numbernode
- the node numberpublic static String getAcnetFromIPName(String name)
name
- the ip namepublic static short[] getLocalTrunkNode()
public static int getLocalTrunk()
public static int getLocalNode()
public static String getLocalAcnetName()
|
New Controls Work JDK 1.3 API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000-2001, Universities Research Association, Inc. All rights reserved.