corba utility functions More...
Static Public Member Functions | |
static void | clearOrb () |
static String | getIOR (org.omg.CORBA.Object obj) |
static NamingContext | getNamingContext () |
get naming context | |
static NamingContext | getNamingContext (String nsHost, int nsPort) |
get naming context from name server which is running on the specified hostname and port number | |
static String[] | getObjectNameList () |
static String[] | getObjectNameList (String nsHost, int nsPort) |
static org.omg.CORBA.ORB | getORB (String[] argv) |
initialize and get ORB | |
static org.omg.CORBA.ORB | getORB () |
initialize and get ORB | |
static org.omg.CORBA.Object | getReference (String id) |
get CORBA object which is associated with id | |
static org.omg.CORBA.Object | getReference (String id, String nsHost, int nsPort) |
get CORBA object which is associated with id | |
static org.omg.CORBA.Object | getReference (String id, String kind, String nsHost, int nsPort) |
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 | |
static int | nsPort () |
get port number where naming server is listening | |
static void | removeNameServiceFromList () |
Static Package Functions | |
static String | getIOR (String id, String nsHost, int nsPort) |
Static Private Member Functions | |
static String[] | _getObjectNameList (NamingContext cxt) |
static HashMap< String, NamingContext > | getNamingContextList () |
get map between naming service location and naming context | |
Static Private Attributes | |
static HashMap< String, NamingContext > | namingContextList_ = null |
static ORB | orb_ = null |
corba utility functions
Definition at line 34 of file GrxCorbaUtil.java.
static String [] com.generalrobotix.ui.util.GrxCorbaUtil._getObjectNameList | ( | NamingContext | cxt | ) | [inline, static, private] |
Definition at line 241 of file GrxCorbaUtil.java.
static void com.generalrobotix.ui.util.GrxCorbaUtil.clearOrb | ( | ) | [inline, static] |
Definition at line 219 of file GrxCorbaUtil.java.
static String com.generalrobotix.ui.util.GrxCorbaUtil.getIOR | ( | org.omg.CORBA.Object | obj | ) | [inline, static] |
Definition at line 173 of file GrxCorbaUtil.java.
static String com.generalrobotix.ui.util.GrxCorbaUtil.getIOR | ( | String | id, |
String | nsHost, | ||
int | nsPort | ||
) | [inline, static, package] |
Definition at line 177 of file GrxCorbaUtil.java.
static NamingContext com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContext | ( | ) | [inline, static] |
static NamingContext com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContext | ( | String | nsHost, |
int | nsPort | ||
) | [inline, static] |
get naming context from name server which is running on the specified hostname and port number
nsHost | hostname where name server is running |
nsPort | port number where name server is listening |
Definition at line 95 of file GrxCorbaUtil.java.
static HashMap<String, NamingContext> com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContextList | ( | ) | [inline, static, private] |
get map between naming service location and naming context
Definition at line 117 of file GrxCorbaUtil.java.
static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList | ( | ) | [inline, static] |
Definition at line 208 of file GrxCorbaUtil.java.
static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList | ( | String | nsHost, |
int | nsPort | ||
) | [inline, static] |
Definition at line 223 of file GrxCorbaUtil.java.
static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB | ( | String[] | argv | ) | [inline, static] |
initialize and get ORB
argv | arguments for ORB initialization |
Definition at line 45 of file GrxCorbaUtil.java.
static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB | ( | ) | [inline, static] |
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference | ( | String | id | ) | [inline, static] |
get CORBA object which is associated with id
id | id of the CORBA object |
Definition at line 130 of file GrxCorbaUtil.java.
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference | ( | String | id, |
String | nsHost, | ||
int | nsPort | ||
) | [inline, static] |
get CORBA object which is associated with id
id | id of the CORBA object |
nsHost | hostname where name server is running |
nsPort | port number where name server is listening |
Definition at line 144 of file GrxCorbaUtil.java.
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference | ( | String | id, |
String | kind, | ||
String | nsHost, | ||
int | nsPort | ||
) | [inline, static] |
Definition at line 148 of file GrxCorbaUtil.java.
static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReferenceURL | ( | String | id, |
String | nsHost, | ||
int | nsPort | ||
) | [inline, static] |
Definition at line 162 of file GrxCorbaUtil.java.
static POA com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOA | ( | ) | throws InvalidName [inline, static] |
Definition at line 181 of file GrxCorbaUtil.java.
static org.omg.PortableServer.POAManager com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOAManager | ( | ) | throws InvalidName [inline, static] |
Definition at line 188 of file GrxCorbaUtil.java.
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isAliveNameService | ( | ) | [inline, static] |
Definition at line 227 of file GrxCorbaUtil.java.
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected | ( | org.omg.CORBA.Object | obj | ) | [inline, static] |
Definition at line 194 of file GrxCorbaUtil.java.
static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected | ( | String | id, |
String | nsHost, | ||
int | nsPort | ||
) | [inline, static] |
Definition at line 203 of file GrxCorbaUtil.java.
static String com.generalrobotix.ui.util.GrxCorbaUtil.nsHost | ( | ) | [inline, static] |
get hostname where naming server is running
Definition at line 74 of file GrxCorbaUtil.java.
static int com.generalrobotix.ui.util.GrxCorbaUtil.nsPort | ( | ) | [inline, static] |
get port number where naming server is listening
Definition at line 66 of file GrxCorbaUtil.java.
static void com.generalrobotix.ui.util.GrxCorbaUtil.removeNameServiceFromList | ( | ) | [inline, static] |
Definition at line 212 of file GrxCorbaUtil.java.
HashMap<String, NamingContext> com.generalrobotix.ui.util.GrxCorbaUtil.namingContextList_ = null [static, private] |
Definition at line 37 of file GrxCorbaUtil.java.
ORB com.generalrobotix.ui.util.GrxCorbaUtil.orb_ = null [static, private] |
Definition at line 36 of file GrxCorbaUtil.java.