corba utility functions
More...
|
static void | clearOrb () |
|
static String | getIOR (org.omg.CORBA.Object obj) |
|
static NamingContext | getNamingContext () |
| get naming context More...
|
|
static NamingContext | getNamingContext (String nsHost, int nsPort) |
| get naming context from name server which is running on the specified hostname and port number More...
|
|
static String[] | getObjectNameList () |
|
static String[] | getObjectNameList (String nsHost, int nsPort) |
|
static org.omg.CORBA.ORB | getORB () |
| initialize and get ORB More...
|
|
static org.omg.CORBA.ORB | getORB (String[] argv) |
| initialize and get ORB More...
|
|
static org.omg.CORBA.Object | getReference (String id) |
| get CORBA object which is associated with id More...
|
|
static org.omg.CORBA.Object | getReference (String id, String kind, String nsHost, int nsPort) |
|
static org.omg.CORBA.Object | getReference (String id, String nsHost, int nsPort) |
| get CORBA object which is associated with id More...
|
|
static org.omg.CORBA.Object | getReferenceURL (String id, String nsHost, int nsPort) |
|
static POA | getRootPOA () throws InvalidName |
|
static org.omg.PortableServer.POAManager | getRootPOAManager () throws InvalidName |
|
static boolean | isAliveNameService () |
|
static boolean | isConnected (org.omg.CORBA.Object obj) |
|
static boolean | isConnected (String id, String nsHost, int nsPort) |
|
static String | nsHost () |
| get hostname where naming server is running More...
|
|
static int | nsPort () |
| get port number where naming server is listening More...
|
|
static void | removeNameServiceFromList () |
|
corba utility functions
Definition at line 34 of file GrxCorbaUtil.java.
◆ _getObjectNameList()
static String [] com.generalrobotix.ui.util.GrxCorbaUtil._getObjectNameList |
( |
NamingContext |
cxt | ) |
|
|
inlinestaticprivate |
◆ clearOrb()
static void com.generalrobotix.ui.util.GrxCorbaUtil.clearOrb |
( |
| ) |
|
|
inlinestatic |
◆ getIOR()
static String com.generalrobotix.ui.util.GrxCorbaUtil.getIOR |
( |
org.omg.CORBA.Object |
obj | ) |
|
|
inlinestatic |
◆ getNamingContext() [1/2]
static NamingContext com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContext |
( |
| ) |
|
|
inlinestatic |
◆ getNamingContext() [2/2]
static NamingContext com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContext |
( |
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
get naming context from name server which is running on the specified hostname and port number
- Parameters
-
nsHost | hostname where name server is running |
nsPort | port number where name server is listening |
- Returns
- naming context
Definition at line 95 of file GrxCorbaUtil.java.
◆ getNamingContextList()
static HashMap<String, NamingContext> com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContextList |
( |
| ) |
|
|
inlinestaticprivate |
get map between naming service location and naming context
- Returns
- map
Definition at line 117 of file GrxCorbaUtil.java.
◆ getObjectNameList() [1/2]
static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList |
( |
| ) |
|
|
inlinestatic |
◆ getObjectNameList() [2/2]
static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList |
( |
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
◆ getORB() [1/2]
static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB |
( |
| ) |
|
|
inlinestatic |
◆ getORB() [2/2]
static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB |
( |
String[] |
argv | ) |
|
|
inlinestatic |
initialize and get ORB
- Parameters
-
argv | arguments for ORB initialization |
- Returns
- ORB
Definition at line 45 of file GrxCorbaUtil.java.
◆ getReference() [1/3]
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference |
( |
String |
id | ) |
|
|
inlinestatic |
get CORBA object which is associated with id
- Parameters
-
- Returns
- CORBA object associated with id
Definition at line 130 of file GrxCorbaUtil.java.
◆ getReference() [2/3]
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference |
( |
String |
id, |
|
|
String |
kind, |
|
|
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
◆ getReference() [3/3]
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference |
( |
String |
id, |
|
|
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
get CORBA object which is associated with id
- Parameters
-
id | id of the CORBA object |
nsHost | hostname where name server is running |
nsPort | port number where name server is listening |
- Returns
- CORBA object associated with id
Definition at line 144 of file GrxCorbaUtil.java.
◆ getReferenceURL()
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReferenceURL |
( |
String |
id, |
|
|
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
◆ getRootPOA()
static POA com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOA |
( |
| ) |
throws InvalidName |
|
inlinestatic |
◆ getRootPOAManager()
static org.omg.PortableServer.POAManager com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOAManager |
( |
| ) |
throws InvalidName |
|
inlinestatic |
◆ isAliveNameService()
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isAliveNameService |
( |
| ) |
|
|
inlinestatic |
◆ isConnected() [1/2]
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected |
( |
org.omg.CORBA.Object |
obj | ) |
|
|
inlinestatic |
◆ isConnected() [2/2]
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected |
( |
String |
id, |
|
|
String |
nsHost, |
|
|
int |
nsPort |
|
) |
| |
|
inlinestatic |
◆ nsHost()
static String com.generalrobotix.ui.util.GrxCorbaUtil.nsHost |
( |
| ) |
|
|
inlinestatic |
get hostname where naming server is running
- Returns
- hostname where naming server is running
Definition at line 74 of file GrxCorbaUtil.java.
◆ nsPort()
static int com.generalrobotix.ui.util.GrxCorbaUtil.nsPort |
( |
| ) |
|
|
inlinestatic |
get port number where naming server is listening
- Returns
- port number where naming server is listening
Definition at line 66 of file GrxCorbaUtil.java.
◆ removeNameServiceFromList()
static void com.generalrobotix.ui.util.GrxCorbaUtil.removeNameServiceFromList |
( |
| ) |
|
|
inlinestatic |
◆ namingContextList_
HashMap<String, NamingContext> com.generalrobotix.ui.util.GrxCorbaUtil.namingContextList_ = null |
|
staticprivate |
◆ orb_
ORB com.generalrobotix.ui.util.GrxCorbaUtil.orb_ = null |
|
staticprivate |
The documentation for this class was generated from the following file: