DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED.
This interface gives one the ability to plug in their own socket factory class to an ORB.
Usage:
One specifies a class which implements this interface via the ORBConstants.SOCKET_FACTORY_CLASS_PROPERTY
property.
Example:
-Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory
Typically one would use the same socket factory class on both the server side and the client side (but this is not required).
A ORBSocketFactory
class should have a public default constructor which is called once per instantiating ORB.init call. That ORB then calls the methods of that ORBSocketFactory
to obtain client and server sockets.
This interface also supports multiple server end points. See the documentation on createServerSocket
below.
|
|
|
|