Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
com.generalrobotix.ui.util.GrxCorbaUtil Class Reference

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 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 (String[] argv)
 initialize and get ORB More...
 
static org.omg.CORBA.ORB getORB ()
 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 nsHost, int nsPort)
 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 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 ()
 

Static Private Member Functions

static String[] _getObjectNameList (NamingContext cxt)
 
static HashMap< String, NamingContext > getNamingContextList ()
 get map between naming service location and naming context More...
 

Static Private Attributes

static HashMap< String, NamingContext > namingContextList_ = null
 
static ORB orb_ = null
 

Detailed Description

corba utility functions

Definition at line 34 of file GrxCorbaUtil.java.

Member Function Documentation

static String [] com.generalrobotix.ui.util.GrxCorbaUtil._getObjectNameList ( NamingContext  cxt)
inlinestaticprivate

Definition at line 241 of file GrxCorbaUtil.java.

static void com.generalrobotix.ui.util.GrxCorbaUtil.clearOrb ( )
inlinestatic

Definition at line 219 of file GrxCorbaUtil.java.

static String com.generalrobotix.ui.util.GrxCorbaUtil.getIOR ( org.omg.CORBA.Object  obj)
inlinestatic

Definition at line 173 of file GrxCorbaUtil.java.

static NamingContext com.generalrobotix.ui.util.GrxCorbaUtil.getNamingContext ( )
inlinestatic

get naming context

Returns
naming context

Definition at line 82 of file GrxCorbaUtil.java.

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
nsHosthostname where name server is running
nsPortport number where name server is listening
Returns
naming context

Definition at line 95 of file GrxCorbaUtil.java.

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.

static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList ( )
inlinestatic

Definition at line 208 of file GrxCorbaUtil.java.

static String [] com.generalrobotix.ui.util.GrxCorbaUtil.getObjectNameList ( String  nsHost,
int  nsPort 
)
inlinestatic

Definition at line 223 of file GrxCorbaUtil.java.

static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB ( String[]  argv)
inlinestatic

initialize and get ORB

Parameters
argvarguments for ORB initialization
Returns
ORB

Definition at line 45 of file GrxCorbaUtil.java.

static org.omg.CORBA.ORB com.generalrobotix.ui.util.GrxCorbaUtil.getORB ( )
inlinestatic

initialize and get ORB

Returns
ORB

Definition at line 58 of file GrxCorbaUtil.java.

static org.omg.CORBA.Object com.generalrobotix.ui.util.GrxCorbaUtil.getReference ( String  id)
inlinestatic

get CORBA object which is associated with id

Parameters
idid of the CORBA object
Returns
CORBA object associated with id

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 
)
inlinestatic

get CORBA object which is associated with id

Parameters
idid of the CORBA object
nsHosthostname where name server is running
nsPortport number where name server is listening
Returns
CORBA object associated with id

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 
)
inlinestatic

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 
)
inlinestatic

Definition at line 162 of file GrxCorbaUtil.java.

static POA com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOA ( ) throws InvalidName
inlinestatic

Definition at line 181 of file GrxCorbaUtil.java.

static org.omg.PortableServer.POAManager com.generalrobotix.ui.util.GrxCorbaUtil.getRootPOAManager ( ) throws InvalidName
inlinestatic

Definition at line 188 of file GrxCorbaUtil.java.

static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isAliveNameService ( )
inlinestatic

Definition at line 227 of file GrxCorbaUtil.java.

static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected ( org.omg.CORBA.Object  obj)
inlinestatic

Definition at line 194 of file GrxCorbaUtil.java.

static boolean com.generalrobotix.ui.util.GrxCorbaUtil.isConnected ( String  id,
String  nsHost,
int  nsPort 
)
inlinestatic

Definition at line 203 of file GrxCorbaUtil.java.

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.

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.

static void com.generalrobotix.ui.util.GrxCorbaUtil.removeNameServiceFromList ( )
inlinestatic

Definition at line 212 of file GrxCorbaUtil.java.

Member Data Documentation

HashMap<String, NamingContext> com.generalrobotix.ui.util.GrxCorbaUtil.namingContextList_ = null
staticprivate

Definition at line 37 of file GrxCorbaUtil.java.

ORB com.generalrobotix.ui.util.GrxCorbaUtil.orb_ = null
staticprivate

Definition at line 36 of file GrxCorbaUtil.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44