/openjdk10/corba/src/java.corba/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...] |
/openjdk10/jdk/test/sun/management/jmxremote/startstop/ |
H A D | PortAllocator.java | 38 int port = -1; 39 while (port == -1) { 40 port = RND.nextInt(UPPER_BOUND - LOWER_BOUND + 1) + LOWER_BOUND; 42 if (ports[j] == port) { 43 port = -1; 48 ports[i] = port;
|
/openjdk10/jdk/test/jdk/modules/scenarios/automaticmodules/src/httpserver/http/ |
H A D | HttpServer.java | 37 private final int port; field in class:HttpServer 40 protected HttpServer(int port) { argument 41 this.port = port; 45 public static HttpServer create(int port) { argument 51 return provider.createHttpServer(port); 53 return new HttpServer(port) { }; 58 logger.log("Start HTTP server on port " + port);
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/model/wsdl/ |
H A D | WSDLPortProperties.java | 44 private final @NotNull WSDLPort port; field in class:WSDLPortProperties 46 public WSDLPortProperties(@NotNull WSDLPort port) { argument 47 this(port, null); 50 public WSDLPortProperties(@NotNull WSDLPort port, @Nullable SEIModel seiModel) { argument 52 this.port = port; 56 return port.getOwner().getName(); 60 return port.getName(); 64 return port.getBinding().getPortTypeName();
|
/openjdk10/jdk/src/java.base/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...] |
/openjdk10/jdk/test/java/rmi/testlibrary/ |
H A D | RMIRegistryRunner.java | 41 * port 0 means to use ephemeral port to start registry. 44 * @return the port number on which registry accepts requests 49 System.err.println("Usage: <port>"); 52 int port = -1; 53 port = Integer.parseInt(args[0]); 56 registry = sun.rmi.registry.RegistryImpl.createRegistry(port); 57 if (port == 0) { 58 port = TestLibrary.getRegistryPort(registry); 63 Naming.rebind("rmi://localhost:" + port [all...] |
H A D | RegistryRunner.java | 38 private static final String PORT_LABEL_START = "RegistryRunner.port.start:"; 39 private static final String PORT_LABEL_END = ":RegistryRunner.port.end"; 62 public static void requestExit(int port) { argument 68 port + 94 int port = Integer.valueOf(portStr); 95 System.err.println("registry is running at port: " + port); 96 return port; 100 * port 0 means to use ephemeral port t 142 notify(int port) argument [all...] |
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/transport/tcp/ |
H A D | TCPDirectSocketFactory.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);
|
/openjdk10/jdk/test/jdk/modules/scenarios/automaticmodules/src/httpserver/http/spi/ |
H A D | HttpServerProvider.java | 32 public abstract HttpServer createHttpServer(int port); argument
|
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/server/ |
H A D | UnicastRemoteObject.java | 55 * {@link #UnicastRemoteObject(int) UnicastRemoteObject(port)} constructor. 59 * UnicastRemoteObject(port, csf, ssf)} constructor. 66 * {@link #exportObject(Remote, int) exportObject(Remote, port)} method. 70 * exportObject(Remote, port, csf, ssf)} method. 73 * {@link #exportObject(Remote, int, ObjectInputFilter) exportObject(Remote, port, filter)} method. 77 * exportObject(Remote, port, csf, ssf, filter)} method. 185 * @serial port number on which to export object 187 private int port = 0; field in class:UnicastRemoteObject 205 * anonymous port. 220 * particular supplied port 230 UnicastRemoteObject(int port) argument 252 UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument 352 exportObject(Remote obj, int port) argument 375 exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument 400 exportObject(Remote obj, int port, ObjectInputFilter filter) argument 427 exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter) 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
|
/openjdk10/jdk/test/java/rmi/transport/closeServerSocket/ |
H A D | CloseServerSocket.java | 30 * the local port is released). 76 * 4457683 for anonymous-port exports. 95 private static void verifyPortFree(int port) throws IOException { argument 96 ServerSocket ss = new ServerSocket(port); 98 System.err.println("- port " + port + " is free"); 101 private static void verifyPortInUse(int port) throws IOException { argument 103 verifyPortFree(port); 105 System.err.println("- port " + port 114 createServerSocket(int port) argument 119 SS(int port) argument [all...] |
/openjdk10/jdk/src/java.base/unix/classes/sun/net/ |
H A D | NetHooks.java | 56 int port) 64 int port) 80 int port) 83 provider.implBeforeTcpBind(fdObj, address, port); 91 int port) 94 provider.implBeforeTcpConnect(fdObj, address, port); 54 implBeforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument 62 implBeforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument 78 beforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument 89 beforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument
|
/openjdk10/jdk/src/java.base/share/classes/java/security/cert/ |
H A D | LDAPCertStoreParameters.java | 32 * name and port number) to implementations of the LDAP {@code CertStore} 57 * the port number of the LDAP server 59 private int port; field in class:LDAPCertStoreParameters 71 * @param port the port number of the LDAP server 75 public LDAPCertStoreParameters(String serverName, int port) { argument 79 this.port = port; 84 * specified server name and a default port of 389. 96 * default parameter values (server name "localhost", port 38 [all...] |
/openjdk10/jdk/src/java.base/solaris/native/libnio/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...] |
/openjdk10/jdk/src/java.rmi/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...] |
/openjdk10/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);
|
/openjdk10/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);
|
/openjdk10/jdk/src/java.base/solaris/native/libnio/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...] |
/openjdk10/jdk/test/java/rmi/registry/altSecurityManager/ |
H A D | TestSecurityManager.java | 32 public void checkListen(int port) { argument
|
/openjdk10/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);
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/ior/iiop/ |
H A D | IIOPAddressImpl.java | 44 private int port; field in class:IIOPAddressImpl 46 public IIOPAddressImpl( ORB orb, String host, int port ) 52 if ((port < 0) || (port > 65535)) 53 throw wrapper.badIiopAddressPort( new Integer(port)) ; 56 this.port = port ; 63 port = shortToInt( thePort ) ; 73 return port ;
|