if(delegate != null)
if (m_orb != null && orb != null) { if (m_orb.equals(orb)) throw new RemoteException("Stub " + this + " is connected to another ORB, " + orb); else return; } m_orb = orb;
  public void connect(javax.rmi.ORB orb)    throws RemoteException  {    if(delegate != null)      delegate.connect(this, orb);  }