org.jacorb.imr
Class ImRAccessImpl

java.lang.Object
  extended byorg.jacorb.imr.ImRAccessImpl
All Implemented Interfaces:
ImRAccess

public class ImRAccessImpl
extends java.lang.Object
implements ImRAccess

ImRAccessImpl.java Created: Thu Jan 31 21:05:55 2002

Version:
$Id: ImRAccessImpl.java,v 1.9 2005/09/27 20:56:10 phil.mesnier Exp $
Author:
Nicolas Noffke

Method Summary
static ImRAccessImpl connect(ORB orb)
          connect resolves the IMR and returns a new ImRAccessImpl.
 ProtocolAddressBase getImRAddress()
           
 java.lang.String getImRHost()
           
 int getImRPort()
           
 void registerPOA(java.lang.String name, java.lang.String server, ProtocolAddressBase address)
           
 void registerPOA(java.lang.String name, java.lang.String server, java.lang.String host, int port)
           
 void setServerDown(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

connect

public static ImRAccessImpl connect(ORB orb)
connect resolves the IMR and returns a new ImRAccessImpl.

Parameters:
orb - an org.omg.CORBA.ORB value
Returns:
an ImRAccessImpl value

getImRAddress

public ProtocolAddressBase getImRAddress()
Specified by:
getImRAddress in interface ImRAccess

getImRHost

public java.lang.String getImRHost()
Specified by:
getImRHost in interface ImRAccess

getImRPort

public int getImRPort()
Specified by:
getImRPort in interface ImRAccess

registerPOA

public void registerPOA(java.lang.String name,
                        java.lang.String server,
                        ProtocolAddressBase address)
                 throws INTERNAL
Specified by:
registerPOA in interface ImRAccess
Throws:
INTERNAL

registerPOA

public void registerPOA(java.lang.String name,
                        java.lang.String server,
                        java.lang.String host,
                        int port)
                 throws INTERNAL
Specified by:
registerPOA in interface ImRAccess
Throws:
INTERNAL

setServerDown

public void setServerDown(java.lang.String name)
                   throws INTERNAL
Specified by:
setServerDown in interface ImRAccess
Throws:
INTERNAL