Searched defs:port (Results 251 - 275 of 397) sorted by relevance

<<111213141516

/openjdk7/jdk/test/javax/management/remote/mandatory/connection/
H A DMultiThreadDeadLockTest.java195 public Socket createSocket(String host, int port) throws IOException { argument
197 //print("Calling createSocket(" + host + " " + port + ")");
200 Socket s = new Socket(host, port);
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DRmiSslNoKeyStoreTest.java59 * <p>The rmi port number can be specified with the "rmi.port" system property.
80 * When launching several registries, we increment the port number
81 * to avoid falling into "port number already in use" problems.
105 public static final String PORT="com.sun.management.jmxremote.port";
249 * port and then calls ConnectorBootstrap.initialize().
253 private String testConfiguration(File file,int port) { argument
260 System.out.println("*** Testing configuration (port="+
261 port + "): "+ path);
264 System.setProperty("com.sun.management.jmxremote.port",
[all...]
/openjdk7/jdk/test/sun/misc/IoTrace/
H A DIoTraceBase.java38 private int port; field in class:IoTraceBase
46 port = 0;
81 public void socketReadEnd(Object context, InetAddress address, int port, argument
85 this.port = port;
96 public void socketWriteEnd(Object context, InetAddress address, int port, argument
100 this.port = port;
147 if (port != p) {
148 throw new Exception("Expected " + p + " port, go
[all...]
/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/sun/net/www/http/HttpClient/
H A DMultiThreadTest.java84 MultiThreadTest(int port, int requests) throws Exception { argument
86 port + "/foo.html";
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DDigestTest.java49 int port; field in class:DigestServer
70 port = s.getLocalPort();
208 int port;
214 port = sock.getLocalPort ();
227 String s = "http://localhost:" + port + DigestServer.uri;
/openjdk7/jdk/src/share/classes/sun/management/snmp/
H A DAdaptorBootstrap.java79 public static final String PORT="com.sun.management.snmp.port";
153 * If the com.sun.management.snmp.port property is not defined,
175 // Get port number
177 final int port;
179 port = Integer.parseInt(portStr);
184 if (port < 0) {
188 // Get trap port number
224 adaptor = getAdaptorBootstrap(port, trapPort, addrStr,
233 (int port, int trapPort, String bindAddress, boolean useAcl,
245 "\n\t" + PropertyNames.PORT + "=" + port
232 getAdaptorBootstrap(int port, int trapPort, String bindAddress, boolean useAcl, String aclFileName) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DNetworkClient.java132 public void openServer(String server, int port) argument
136 serverSocket = doConnect (server, port);
151 protected Socket doConnect (String server, int port) argument
165 // server & port will be the proxy address and port
175 s.connect(new InetSocketAddress(server, port), connectTimeout);
178 s.connect(new InetSocketAddress(server, port), defaultConnectTimeout);
180 s.connect(new InetSocketAddress(server, port));
228 /** Create connection with host <i>host</i> on port <i>port</
229 NetworkClient(String host, int port) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DKeepAliveCache.java76 * @param url The URL contains info about the host and port
298 private int port = 0; field in class:KeepAliveKey
304 * @param url the URL containing the protocol, host and port information
309 this.port = url.getPort();
322 && (port == kae.port)
329 * concatenation of the protocol, host name and port.
333 String str = protocol+host+port;
/openjdk7/jdk/src/share/classes/sun/rmi/registry/
H A DRegistryImpl.java89 * Construct a new RegistryImpl on the specified port with the
92 public RegistryImpl(int port, argument
97 LiveRef lref = new LiveRef(id, port, csf, ssf);
102 * Construct a new RegistryImpl on the specified port.
104 public RegistryImpl(int port) argument
107 LiveRef lref = new LiveRef(id, port);
307 * The port number can be specified on the command line.
369 getTextResource("rmiregistry.port.badnumber"),
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DLiveRef.java73 public LiveRef(int port) { argument
74 this((new ObjID()), port);
81 public LiveRef(int port, argument
85 this((new ObjID()), port, csf, ssf);
92 public LiveRef(ObjID objID, int port) { argument
93 this(objID, TCPEndpoint.getLocalEndpoint(port), true);
100 public LiveRef(ObjID objID, int port, RMIClientSocketFactory csf, argument
103 this(objID, TCPEndpoint.getLocalEndpoint(port, csf, ssf), true);
119 * Return the port number associated with this ref.
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpSendSocket.java55 /** the port to connect to */
56 protected int port; field in class:HttpSendSocket
85 * Create a stream socket and connect it to the specified port on
88 * @param port the port
90 public HttpSendSocket(String host, int port, URL url) throws IOException argument
96 "host = " + host + ", port = " + port + ", url = " + url);
100 this.port = port;
113 HttpSendSocket(String host, int port) argument
124 HttpSendSocket(InetAddress address, int port) argument
[all...]
H A DRMIMasterSocketFactory.java135 public Socket createSocket(String host, int port) argument
139 proxyLog.log(Log.BRIEF, "host: " + host + ", port: " + port);
147 return initialFactory.createSocket(host, port);
162 return factory.createSocket(host, port);
173 new AsyncConnector(initialFactory, host, port,
235 factory.createSocket(host, port)) {
254 fallbackSocket = factory.createSocket(host, port);
342 public ServerSocket createServerSocket(int port) throws IOException { argument
343 //return new HttpAwareServerSocket(port);
362 private int port; field in class:RMIMasterSocketFactory.AsyncConnector
379 AsyncConnector(RMISocketFactory factory, String host, int port, AccessControlContext acc) argument
[all...]
/openjdk7/jdk/src/solaris/classes/java/net/
H A DPlainDatagramSocketImpl.java76 protected native void connect0(InetAddress address, int port) throws SocketException; argument
H A DPlainSocketImpl.java56 native void socketConnect(InetAddress address, int port, int timeout) argument
59 native void socketBind(InetAddress address, int port) argument
/openjdk7/jdk/src/solaris/classes/sun/net/sdp/
H A DSdpProvider.java48 // maximum port
104 boolean match(Action action, InetAddress address, int port); argument
107 // rule to match port[-end]
121 public boolean match(Action action, InetAddress address, int port) { argument
123 port >= this.portStart &&
124 port <= this.portEnd);
128 // rule to match address[/prefix] port[-end]
134 int prefix, int port, int end)
136 super(action, port, end);
142 public boolean match(Action action, InetAddress address, int port) { argument
133 AddressPortRangeRule(Action action, InetAddress address, int prefix, int port, int end) argument
291 convertTcpToSdpIfMatch(FileDescriptor fdObj, Action action, InetAddress address, int port) argument
317 implBeforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument
327 implBeforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthentication.java164 public NTLMAuthentication(boolean isProxy, String host, int port, argument
169 port,
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DUnixAsynchronousServerSocketChannelImpl.java48 private final Port port; field in class:UnixAsynchronousServerSocketChannelImpl
71 UnixAsynchronousServerSocketChannelImpl(Port port) argument
74 super(port);
82 this.port = port;
86 port.register(fdVal, this);
92 port.unregister(fdVal);
124 return port;
151 port.startPoll(fdVal, Port.POLLIN);
210 ch = new UnixAsynchronousSocketChannelImpl(port, newf
[all...]
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DCUPSPrinter.java54 private static native boolean canConnect(String server, int port); argument
397 * Returns CUPS port number.
410 " port "+getPort());
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DSocketOrChannelAcceptorImpl.java94 protected int port; field in class:SocketOrChannelAcceptorImpl
123 public SocketOrChannelAcceptorImpl(ORB orb, int port) argument
126 this.port = port;
130 public SocketOrChannelAcceptorImpl(ORB orb, int port, argument
133 this(orb, port);
155 inetSocketAddress = new InetSocketAddress(port);
158 inetSocketAddress = new InetSocketAddress(host, port);
164 throw wrapper.createListenerFailed( t, Integer.toString(port) ) ;
173 // Determine the listening port (fo
627 setLocatorPort(int port) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DAbstractPlainDatagramSocketImpl.java91 * Binds a datagram socket to a local port.
113 * @param port the remote port number
115 protected void connect(InetAddress address, int port) throws SocketException { argument
116 connect0(address, port);
118 connectedPort = port;
359 protected abstract void connect0(InetAddress address, int port) throws SocketException; argument
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 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...]
H A DSocketImpl.java62 * The port number on the remote host to which this socket is connected.
64 protected int port; field in class:SocketImpl
67 * The local port number to which this socket is connected.
82 * Connects this socket to the specified port on the named host.
85 * @param port the port number.
89 protected abstract void connect(String host, int port) throws IOException; argument
92 * Connects this socket to the specified port number on the specified host.
95 * @param port the port numbe
99 connect(InetAddress address, int port) argument
121 bind(InetAddress host, int port) argument
[all...]
H A DSocksSocketImpl.java59 SocksSocketImpl(String server, int port) { argument
61 this.serverPort = (port == -1 ? DEFAULT_PORT : port);
79 final int port,
87 superConnectServer(host, port, timeout);
98 private void superConnectServer(String host, int port, argument
100 super.connect(new InetSocketAddress(host, port), timeout);
1022 s.port = cmdsock.getImpl().port;
1049 * Returns the value of this socket's <code>port</cod
78 privilegedConnect(final String host, final int port, final int timeout) argument
[all...]

Completed in 85 milliseconds

<<111213141516