38 |
|
|
39 |
package gnu.CORBA.GIOP; |
package gnu.CORBA.GIOP; |
40 |
|
|
41 |
import gnu.CORBA.Functional_ORB; |
import gnu.CORBA.OrbFunctional; |
42 |
import gnu.CORBA.IOR; |
import gnu.CORBA.IOR; |
43 |
import gnu.CORBA.Minor; |
import gnu.CORBA.Minor; |
44 |
|
|
92 |
{ |
{ |
93 |
Socket socket; |
Socket socket; |
94 |
|
|
95 |
if (orb instanceof Functional_ORB) |
if (orb instanceof OrbFunctional) |
96 |
socket = ((Functional_ORB) orb).socketFactory.createClientSocket( |
socket = ((OrbFunctional) orb).socketFactory.createClientSocket( |
97 |
ior.Internet.host, ior.Internet.port); |
ior.Internet.host, ior.Internet.port); |
98 |
else |
else |
99 |
socket = new Socket(ior.Internet.host, ior.Internet.port); |
socket = new Socket(ior.Internet.host, ior.Internet.port); |