/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/ |
H A D | USLPort.java | 31 private int port; field in class:USLPort 33 public USLPort (String type, int port) argument 36 this.port = port; 40 public int getPort () { return port; } 41 public String toString () { return type + ":" + port; }
|
H A D | EndPointInfoImpl.java | 39 protected int port; field in class:EndPointInfoImpl 43 public EndPointInfoImpl(String type, int port, String hostname) { argument 45 this.port = port; 64 return port; 72 public void setLocatorPort (int port) argument 74 locatorPort = port; 83 return type.hashCode() ^ hostname.hashCode() ^ port; 98 if (port != other.port) { [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | RMIHttpToCGISocketFactory.java | 38 * the actual specified port on the socket. 42 public Socket createSocket(String host, int port) argument 45 return new HttpSendSocket(host, port, 48 "?forward=" + port)); 51 public ServerSocket createServerSocket(int port) throws IOException argument 53 return new HttpAwareServerSocket(port);
|
H A D | RMIHttpToPortSocketFactory.java | 37 * specified port. 41 public Socket createSocket(String host, int port) argument 44 return new HttpSendSocket(host, port, 45 new URL("http", host, port, "/")); 48 public ServerSocket createServerSocket(int port) argument 51 return new HttpAwareServerSocket(port);
|
H A D | RMIDirectSocketFactory.java | 34 * specified port on the specified host. 38 public Socket createSocket(String host, int port) throws IOException argument 40 return new Socket(host, port); 43 public ServerSocket createServerSocket(int port) throws IOException argument 45 return new ServerSocket(port);
|
/openjdk7/jdk/src/share/classes/javax/net/ |
H A D | ServerSocketFactory.java | 103 * Returns a server socket bound to the specified port. 108 * method is called with the <code>port</code> argument as its 112 * @param port the port to listen to 117 * @throws IllegalArgumentException if the port parameter is outside the 118 * specified range of valid port values, which is between 0 and 123 public abstract ServerSocket createServerSocket(int port) argument 128 * Returns a server socket bound to the specified port, and uses the 137 * method is called with the <code>port</code> argument as its 141 * @param port th 154 createServerSocket(int port, int backlog) argument 192 createServerSocket(int port, int backlog, InetAddress ifAddress) argument 215 createServerSocket(int port) argument 221 createServerSocket(int port, int backlog) argument 228 createServerSocket(int port, int backlog, InetAddress ifAddress) argument [all...] |
H A D | SocketFactory.java | 134 * at the specified remote port. This socket is configured using 138 * method is called with the host address and <code>port</code> 143 * @param port the server port 149 * @throws IllegalArgumentException if the port parameter is outside the 150 * specified range of valid port values, which is between 0 and 155 public abstract Socket createSocket(String host, int port) argument 161 * on the specified remote port. 162 * The socket will also be bound to the local address and port supplied. 167 * method is called with the host address and <code>port</cod 187 createSocket(String host, int port, InetAddress localHost, int localPort) argument 213 createSocket(InetAddress host, int port) argument 244 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument 268 createSocket(String host, int port) argument 274 createSocket(InetAddress address, int port) argument 280 createSocket(String host, int port, InetAddress clientAddress, int clientPort) argument 287 createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) argument [all...] |
/openjdk7/jdk/test/java/rmi/registry/altSecurityManager/ |
H A D | TestSecurityManager.java | 30 public void checkListen(int port) { argument
|
/openjdk7/jdk/test/com/sun/tools/attach/ |
H A D | Shutdown.java | 28 * given port which triggers the listener to shutdown. 36 int port = Integer.parseInt(args[0]); 38 System.out.println("Connecting to port " + port + 42 s.connect( new InetSocketAddress(port) );
|
/openjdk7/jdk/src/share/classes/java/rmi/server/ |
H A D | UnicastRemoteObject.java | 110 * @serial port number on which to export object 112 private int port = 0; field in class:UnicastRemoteObject 130 * anonymous port. 141 * particular supplied port. 142 * @param port the port number on which the remote object receives calls 143 * (if <code>port</code> is zero, an anonymous port is chosen) 147 protected UnicastRemoteObject(int port) throws RemoteException argument 149 this.port 164 UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument 249 exportObject(Remote obj, int port) argument 267 exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument [all...] |
H A D | RMIClientSocketFactory.java | 65 * Create a client socket connected to the specified host and port. 67 * @param port the port number 68 * @return a socket connected to the specified host and port. 72 public Socket createSocket(String host, int port) argument
|
H A D | RMIServerSocketFactory.java | 64 * Create a server socket on the specified port (port 0 indicates 65 * an anonymous port). 66 * @param port the port number 67 * @return the server socket on the specified port 72 public ServerSocket createServerSocket(int port) argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/ |
H A D | WSDLProperties.java | 48 private final @NotNull WSDLPort port; field in class:WSDLProperties 50 public WSDLProperties(@NotNull WSDLPort port) { argument 51 this.port = port; 56 return port.getOwner().getName(); 61 return port.getName(); 66 return port.getBinding().getPortTypeName();
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SSLSocketFactoryImpl.java | 77 * Constructs an SSL connection to a named host at a specified port. 83 * @param port number of the server's port 85 public Socket createSocket(String host, int port) argument 88 return new SSLSocketImpl(context, host, port); 93 * ServerSocket on the named host, at the given port. This 95 * host and port refer to the logical destination server. This 101 * @param port the server port 107 public Socket createSocket(Socket s, String host, int port, argument 122 createSocket(InetAddress address, int port) argument 136 createSocket(String host, int port, InetAddress clientAddress, int clientPort) argument 151 createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) argument [all...] |
H A D | SSLServerSocketFactoryImpl.java | 74 public ServerSocket createServerSocket (int port) argument 77 return new SSLServerSocketImpl (port, DEFAULT_BACKLOG, context); 81 public ServerSocket createServerSocket (int port, int backlog) argument 84 return new SSLServerSocketImpl (port, backlog, context); 88 createServerSocket (int port, int backlog, InetAddress ifAddress) argument 91 return new SSLServerSocketImpl (port, backlog, ifAddress, context);
|
/openjdk7/jdk/test/java/rmi/transport/closeServerSocket/ |
H A D | CloseServerSocket.java | 30 * the local port is released). 71 * 4457683 for anonymous-port exports. 90 private static void verifyPortFree(int port) throws IOException { argument 91 ServerSocket ss = new ServerSocket(port); 93 System.err.println("- port " + port + " is free"); 96 private static void verifyPortInUse(int port) throws IOException { argument 98 verifyPortFree(port); 100 System.err.println("- port " + port 109 createServerSocket(int port) argument 114 SS(int port) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/cert/ |
H A D | LDAPCertStoreParameters.java | 32 * name and port number) to implementations of the LDAP <code>CertStore</code> 52 * the port number of the LDAP server 54 private int port; field in class:LDAPCertStoreParameters 66 * @param port the port number of the LDAP server 70 public LDAPCertStoreParameters(String serverName, int port) { argument 74 this.port = port; 79 * specified server name and a default port of 389. 91 * default parameter values (server name "localhost", port 38 [all...] |
/openjdk7/jdk/src/solaris/classes/sun/net/ |
H A D | NetHooks.java | 59 int port) 67 int port) 83 int port) 86 provider.implBeforeTcpBind(fdObj, address, port); 94 int port) 97 provider.implBeforeTcpConnect(fdObj, address, port); 57 implBeforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument 65 implBeforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument 81 beforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument 92 beforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument
|
/openjdk7/jdk/src/share/classes/java/rmi/registry/ |
H A D | LocateRegistry.java | 44 * to create a remote object registry that accepts calls on a specific port. 66 * the local host on the default registry port of 1099. 80 * the local host on the specified <code>port</code>. 82 * @param port port on which the registry accepts requests 87 public static Registry getRegistry(int port) argument 90 return getRegistry(null, port); 95 * specified <code>host</code> on the default registry port of 1099. If 111 * specified <code>host</code> and <code>port</code>. If <code>host</code> 115 * @param port por 120 getRegistry(String host, int port) argument 144 getRegistry(String host, int port, RMIClientSocketFactory csf) argument 202 createRegistry(int port) argument 234 createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | SolarisWatchService.c | 34 #include <port.h> // Solaris 10 55 int port = port_create(); local 56 if (port == -1) { 59 return (jint)port; 64 (JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress, jint events) 68 if (port_associate((int)port, (int)source, object, (int)events, NULL) == -1) { 75 (JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress) 79 if (port_dissociate((int)port, (int)source, object) == -1) { 86 jint port, jint events) 88 if (port_send((int)port, (in 63 Java_sun_nio_fs_SolarisWatchService_portAssociate(JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress, jint events) argument 74 Java_sun_nio_fs_SolarisWatchService_portDissociate(JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress) argument 85 Java_sun_nio_fs_SolarisWatchService_portSend(JNIEnv* env, jclass clazz, jint port, jint events) argument 94 Java_sun_nio_fs_SolarisWatchService_portGetn(JNIEnv* env, jclass clazz, jint port, jlong arrayAddress, jint max) argument [all...] |
/openjdk7/jdk/test/java/rmi/registry/readTest/testPkg/ |
H A D | Client.java | 30 int port; field in class:Client 33 port = p; 38 Registry registry = LocateRegistry.getRegistry(port);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/socketFactories/ |
H A D | RMIServerFactory.java | 39 public ServerSocket createServerSocket(int port) throws IOException { argument 43 System.out.println("Calling createServerSocket(" + port + ")"); 44 ServerSocket ss = new ServerSocket(port);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/ |
H A D | IIOPAddressImpl.java | 47 private int port; field in class:IIOPAddressImpl 49 public IIOPAddressImpl( ORB orb, String host, int port ) 55 if ((port < 0) || (port > 65535)) 56 throw wrapper.badIiopAddressPort( new Integer(port)) ; 59 this.port = port ; 66 port = shortToInt( thePort ) ; 76 return port ;
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | SolarisEventPort.c | 35 #include <port.h> 43 int port = port_create(); local 44 if (port == -1) { 47 return (jint)port; 52 (JNIEnv* env, jclass clazz, jint port) 55 RESTARTABLE(close(port), res); 60 (JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress, jint events) 63 if (port_associate((int)port, (int)source, object, (int)events, NULL) == 0) { 74 (JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress) 78 if (port_dissociate((int)port, (in 51 Java_sun_nio_ch_SolarisEventPort_port_1close(JNIEnv* env, jclass clazz, jint port) argument 59 Java_sun_nio_ch_SolarisEventPort_port_1associate(JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress, jint events) argument 73 Java_sun_nio_ch_SolarisEventPort_port_1dissociate(JNIEnv* env, jclass clazz, jint port, jint source, jlong objectAddress) argument 88 Java_sun_nio_ch_SolarisEventPort_port_1send(JNIEnv* env, jclass clazz, jint port, jint events) argument 97 Java_sun_nio_ch_SolarisEventPort_port_1get(JNIEnv* env, jclass clazz, jint port, jlong eventAddress) argument 110 Java_sun_nio_ch_SolarisEventPort_port_1getn(JNIEnv* env, jclass clazz, jint port, jlong arrayAddress, jint max, jlong timeout) argument [all...] |
/openjdk7/jdk/test/java/net/PlainSocketImpl/ |
H A D | BigBacklog.java | 40 int port = 0; 43 soc = new ServerSocket(port, Integer.MAX_VALUE); 44 port = soc.getLocalPort(); 51 csoc = new Socket(InetAddress.getLocalHost(), port);
|