Searched refs:port (Results 201 - 225 of 622) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/management/remote/mandatory/passwordAuthenticator/
H A DRMIAltAuthTest.java72 int port = 5800;
73 while (port++ < 6000) {
75 reg = LocateRegistry.createRegistry(port);
76 System.out.println("RMI registry running on port " + port);
81 "on port " + port);
119 "/jndi/rmi://:" + port + "/server" + port);
H A DRMIPasswdAuthTest.java70 int port = 5800;
71 while (port++ < 6000) {
73 reg = LocateRegistry.createRegistry(port);
74 System.out.println("RMI registry running on port " + port);
79 "on port " + port);
116 "/jndi/rmi://:" + port + "/server" + port);
/openjdk7/jdk/test/sun/net/www/
H A DMarkResetTest.java40 private int port; field in class:MarkResetTest.FtpServer
234 int port = pasv.getLocalPort();
236 " Passive Mode (|||" + port + "|)");
252 int port = pasv.getLocalPort();
258 (port >> 8) + "," + (port & 0xff));
351 public FtpServer(int port) { argument
352 this.port = port;
380 server = new ServerSocket(port);
[all...]
/openjdk7/jdk/test/java/net/Socks/
H A DSocksServer.java57 private int port; field in class:SocksServer
199 int port = ((in.read() & 0xff) << 8);
200 port += (in.read() & 0xff);
211 dest = new Socket(addr, port);
229 out.write((port >> 8) & 0xff);
230 out.write(port & 0xff);
406 int port = 0;
447 port = ((in.read()&0xff) << 8);
448 port += (in.read()&0xff);
450 InetSocketAddress socAddr = new InetSocketAddress(addr, port);
488 SocksServer(int port, boolean v4) argument
493 SocksServer(int port) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisWatchService.java78 // port sources
98 int port = -1;
100 port = portCreate();
105 this.poller = new Poller(fs, this, port);
214 * Background thread to read from port
234 // the I/O port
235 private final int port; field in class:SolarisWatchService.Poller
246 Poller(UnixFileSystem fs, SolarisWatchService watcher, int port) { argument
248 this.port = port;
748 portAssociate(int port, int source, long object, int events) argument
751 portDissociate(int port, int source, long object) argument
754 portSend(int port, int events) argument
757 portGetn(int port, long address, int max) argument
[all...]
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DHttpsSocketFacTest.java178 public Socket createSocket(InetAddress host, int port) throws IOException { argument
180 return SocketFactory.getDefault().createSocket(host, port);
184 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, argument
187 return SocketFactory.getDefault().createSocket(address, port, localAddress, localPort);
191 public Socket createSocket(String host, int port) throws IOException { argument
193 return SocketFactory.getDefault().createSocket(host, port);
197 public Socket createSocket(String host, int port, InetAddress localHost, argument
200 return SocketFactory.getDefault().createSocket(host, port, localHost, localPort);
205 public Socket createSocket(Socket s, String host, int port, argument
209 (s, host, port, autoClos
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DDatagramSocket.java61 * UDP port 8888.
101 * Connected address & port
107 * Connects this socket to a remote socket address (IP address + port number).
111 * @param port The remote port
114 private synchronized void connectInternal(InetAddress address, int port) throws SocketException { argument
115 if (port < 0 || port > 0xFFFF) {
116 throw new IllegalArgumentException("connect: " + port);
129 security.checkConnect(address.getHostAddress(), port);
255 DatagramSocket(int port) argument
283 DatagramSocket(int port, InetAddress laddr) argument
440 connect(InetAddress address, int port) argument
[all...]
H A DAuthenticator.java144 * @param port the port for the requested connection
162 int port,
181 a.requestingPort = port;
204 * @param port the port for the requested connection.
224 int port,
244 a.requestingPort = port;
265 * @param port the port fo
160 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String scheme) argument
221 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme) argument
286 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) argument
[all...]
H A DURL.java60 * A URL can optionally specify a "port", which is the
61 * port number to which the TCP connection is made on the remote host
62 * machine. If the port is not specified, the default port for
63 * the protocol is used instead. For example, the default port for
64 * <code>http</code> is <code>80</code>. An alternative port could be
108 * the protocol, host name, or port number is missing, the value is
166 * The protocol port to connect to.
169 private int port = -1; field in class:URL
223 * <code>protocol</code>, <code>host</code>, <code>port</cod
299 URL(String protocol, String host, int port, String file) argument
367 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument
663 set(String protocol, String host, int port, String file, String ref) argument
700 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
H A DServerSocket.java91 * Creates a server socket, bound to the specified port. A port number
92 * of <code>0</code> means that the port number is automatically
93 * allocated, typically from an ephemeral port range. This port
106 * with the <code>port</code> argument
111 * @param port the port number, or <code>0</code> to use a port
118 * @exception IllegalArgumentException if the port paramete
127 ServerSocket(int port) argument
180 ServerSocket(int port, int backlog) argument
229 ServerSocket(int port, int backlog, InetAddress bindAddr) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DCorbaContactInfoListImpl.java160 int port =
165 createContactInfo(SocketInfo.IIOP_CLEAR_TEXT, hostname, port);
195 int port = socketInfo.getPort();
196 contactInfo = createContactInfo(type, host, port);
202 String hostname, int port)
209 type, hostname, port);
201 createContactInfo(String type, String hostname, int port) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/
H A DServiceGenerator.java196 for (Port port : service.getPorts()) {
197 if (port.isProvider()) {
204 retType = getClass(port.getJavaInterface().getName(), ClassType.INTERFACE);
207 (QName) port.getProperty(
211 PortType pt = port.portTypes.get(portTypeName);
215 receiver.error(loc, GeneratorMessages.GENERATOR_SEI_CLASS_ALREADY_EXIST(port.getJavaInterface().getName(), portTypeName));
220 writeDefaultGetPort(port, retType, cls);
224 writeGetPort(port, retType, cls);
230 private void writeGetPort(Port port, JType retType, JDefinedClass cls) { argument
231 JMethod m = cls.method(JMod.PUBLIC, retType, port
350 writeDefaultGetPort(Port port, JType retType, JDefinedClass cls) argument
375 writeWebEndpoint(Port port, JMethod m) argument
[all...]
/openjdk7/jdk/test/sun/management/jmxremote/startstop/
H A DJMXStartStopTest.java122 int port = 4567;
124 port = Integer.parseInt(args[0]);
126 dbg_print("Using port: " + port);
132 dbg_print("Using rmi port: " + rmiPort);
134 Registry registry = LocateRegistry.getRegistry(port);
143 String.format("service:jmx:rmi://localhost:%d/jndi/rmi://localhost:%d/jmxrmi", rmiPort, port) :
144 String.format("service:jmx:rmi:///jndi/rmi://localhost:%d/jmxrmi",port);
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLServerSocketFactory.java168 public ServerSocket createServerSocket(int port) argument
174 public ServerSocket createServerSocket(int port, int backlog) argument
181 createServerSocket(int port, int backlog, InetAddress ifAddress) argument
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DJMXServiceURL.java73 * <code>//<em>[host[</em>:<em>port]][url-path]</em></code>
85 * <p>The <code><em>port</em></code> is a decimal port number. 0
86 * means a default or anonymous port, depending on the protocol.</p>
88 * <p>The <code><em>host</em></code> and <code><em>port</em></code>
89 * can be omitted. The <code><em>port</em></code> cannot be supplied
194 // Parse the port number
198 throw new MalformedURLException("Cannot give port number " +
206 this.port = Integer.parseInt(portString);
208 throw new MalformedURLException("Bad port numbe
248 JMXServiceURL(String protocol, String host, int port) argument
275 JMXServiceURL(String protocol, String host, int port, String urlPath) argument
676 private final int port; field in class:JMXServiceURL
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java68 * hostport = host [ ":" port ]
70 * port = *digit
111 protected int port = -1; field in class:Uri
159 * Returns the port from the URI's authority part, or -1 if
160 * no port is provided.
163 return port;
205 if (hasAuthority) { // parse "//host:port"
230 uri.startsWith(":", i)) { // parse port
232 port = Integer.parseInt(uri.substring(i, slash));
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/rmi/
H A DrmiURLContext.java40 * rmi://[host][:port][/[object]]
71 int port = -1;
76 if (url.startsWith("//", i)) { // parse "//host:port"
101 if ( url.startsWith(":", i)) { // parse port
103 port = Integer.parseInt(url.substring(i, slash));
128 //System.out.println("host=" + host + " port=" + port +
132 Context regCtx = new RegistryContext(host, port, env);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/
H A DServiceInterceptor.java59 * @param port
60 * Information about the port for which dispatch/proxy will be created.
63 * it represents the port interface of the proxy to be created.
77 public List<WebServiceFeature> preCreateBinding(@NotNull WSPortInfo port, @Nullable Class<?> serviceEndpointInterface, @NotNull WSFeatureList defaultFeatures) { argument
109 public List<WebServiceFeature> preCreateBinding(@NotNull WSPortInfo port, @Nullable Class<?> portInterface, @NotNull WSFeatureList defaultFeatures) {
112 r.addAll(si.preCreateBinding(port,portInterface,defaultFeatures));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/
H A DSyncProviderInvokerTube.java60 WSDLPort port = getEndpoint().getPort();
71 Packet response = argsBuilder.getResponse(request,e,port,binding);
81 Packet response = argsBuilder.getResponse(request,returnValue,port,binding);
/openjdk7/jdk/test/java/net/DatagramPacket/
H A DConstructor.java98 /* negative port */
114 /* invalid port value */
141 int port = 8080;
143 address, port);
147 packet.getPort() != port) {
H A DReuseBuf.java35 static int port; field in class:ReuseBuf
42 port = ds.getLocalPort();
77 port));
/openjdk7/jdk/test/sun/net/ftp/
H A DFtpURL.java40 private int port; field in class:FtpURL.FtpServer
258 int port = pasv.getLocalPort();
260 (port >> 8) + "," + (port & 0xff) +")");
371 public FtpServer(int port) { argument
372 this.port = port;
374 server = new ServerSocket(port);
456 int port = server.getPort();
460 URL url = new URL("ftp://user:password@localhost:" + port
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/legacy/connection/
H A DORBSocketFactory.java75 * A server ORB always creates an "IIOP_CLEAR_TEXT" listening port.
76 * That port is put into IOP profiles of object references exported
81 * <code>createServerSocket(String type, int port)</code>
86 * <code>new java.net.ServerSocket(int port)</code> <p>
113 * <code>createServerSocket(String type, int port)</code>.
125 * In addition to the IIOP_CLEAR_TEXT listening port, it is possible
126 * to specify that an ORB listen on additional port of specific types. <p>
139 * <code>createServerSocket(String type, int port)</code>. <p>
142 * default IIOP_CLEAR_TEXT port) using the
165 * If number is 0 then use an emphemeral port fo
277 createServerSocket(String type, int port) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DRMIExporter.java52 int port,
51 exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/
H A DModelVisitor.java35 public void visit(Port port) throws Exception; argument

Completed in 72 milliseconds

1234567891011>>