< prev index next >

src/java.corba/share/classes/com/sun/corba/se/spi/legacy/connection/ORBSocketFactory.java

Print this page

        

*** 46,56 **** * * <code>ORBConstants.SOCKET_FACTORY_CLASS_PROPERTY</code> * * property. <p> * ! * Example: <p> * <pre> * -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory * </pre> <p> * --- 46,56 ---- * * <code>ORBConstants.SOCKET_FACTORY_CLASS_PROPERTY</code> * * property. <p> * ! * Example: * <pre> * -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory * </pre> <p> *
*** 143,153 **** * * <code>ORBConstants.LISTEN_SOCKET_PROPERTY</code> * * property. <p> * ! * Example usage:<p> * * <pre> * ... \ * -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=com.my.MySockFact \ * -Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,foo:1 \ --- 143,153 ---- * * <code>ORBConstants.LISTEN_SOCKET_PROPERTY</code> * * property. <p> * ! * Example usage: * * <pre> * ... \ * -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=com.my.MySockFact \ * -Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,foo:1 \
*** 201,211 **** * </pre> * * Once you have the port you may add information to references * created by the associated adapter by calling * ! * <code>IORInfo::add_ior_component</code><p> <p> * * * Note: if one is using a POA and the lifespan policy of that * POA is persistent then the port number returned * by <code>getServerPort</code> <em>may</em> --- 201,211 ---- * </pre> * * Once you have the port you may add information to references * created by the associated adapter by calling * ! * <code>IORInfo::add_ior_component</code><p> * * * Note: if one is using a POA and the lifespan policy of that * POA is persistent then the port number returned * by <code>getServerPort</code> <em>may</em>
*** 245,255 **** * - specify your <code>BadServerIdHandler</code> (discussed below) * using the * * <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p> * ! * Example: <p> * * <pre> * * -Dcom.sun.CORBA.POA.ORBBadServerIdHandlerClass=corba.socketPersistent.MyBadServerIdHandler * --- 245,255 ---- * - specify your <code>BadServerIdHandler</code> (discussed below) * using the * * <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p> * ! * Example: * * <pre> * * -Dcom.sun.CORBA.POA.ORBBadServerIdHandlerClass=corba.socketPersistent.MyBadServerIdHandler *
*** 269,279 **** * Naming then one should configure them with the same * * <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and * <code>LISTEN_SOCKET_PROPERTY</code> * ! * as used by other clients and servers in your distributed system. <p> * */ public ServerSocket createServerSocket(String type, int port) throws IOException; --- 269,279 ---- * Naming then one should configure them with the same * * <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and * <code>LISTEN_SOCKET_PROPERTY</code> * ! * as used by other clients and servers in your distributed system. * */ public ServerSocket createServerSocket(String type, int port) throws IOException;
*** 322,341 **** * The <code>orb</code> argument is useful for handling * the <code>ior</code> argument. <p> * * The <code>SocketInfo</code> given to <code>getEndPointInfo</code> * is either null or an object obtained ! * from <code>GetEndPointInfoAgainException</code> <p> * */ public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb, IOR ior, SocketInfo socketInfo); /** ! * DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p * * This method is used by a client side ORB. <p> * * This method should return a client socket of the given * type/host/port. <p> --- 322,341 ---- * The <code>orb</code> argument is useful for handling * the <code>ior</code> argument. <p> * * The <code>SocketInfo</code> given to <code>getEndPointInfo</code> * is either null or an object obtained ! * from <code>GetEndPointInfoAgainException</code> * */ public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb, IOR ior, SocketInfo socketInfo); /** ! * DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p> * * This method is used by a client side ORB. <p> * * This method should return a client socket of the given * type/host/port. <p>
*** 344,354 **** * returned by <code>getSocketInfo</code> so extra cookie info may * be attached. <p> * * If this method throws GetEndPointInfoAgainException then the * ORB calls <code>getEndPointInfo</code> again, passing it the ! * <code>SocketInfo</code> object contained in the exception. <p> * */ public Socket createSocket(SocketInfo socketInfo) throws IOException, --- 344,354 ---- * returned by <code>getSocketInfo</code> so extra cookie info may * be attached. <p> * * If this method throws GetEndPointInfoAgainException then the * ORB calls <code>getEndPointInfo</code> again, passing it the ! * <code>SocketInfo</code> object contained in the exception. * */ public Socket createSocket(SocketInfo socketInfo) throws IOException,
< prev index next >