Searched refs:port (Results 226 - 250 of 622) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/
H A DHttpAdapterList.java46 * If the runtime knows these ports, their port addresses can be patched.
48 * multiple port addresses.
64 WSDLPort port = endpoint.getPort();
65 if (port != null) {
66 PortInfo portInfo = new PortInfo(port.getOwner().getName(),port.getName().getLocalPart());
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/
H A DServerMgr.java73 int port = url.getPort();
74 if (port == -1) {
75 port = url.getDefaultPort();
78 port);
/openjdk7/jdk/src/windows/classes/java/net/
H A DTwoStacksPlainSocketImpl.java103 * Binds the socket to the specified address of the specified local port.
105 * @param port the port
136 void socketBind(InetAddress address, int port) throws IOException { argument
137 socketBind(address, port, exclusiveBind);
221 native void socketConnect(InetAddress address, int port, int timeout) argument
224 native void socketBind(InetAddress address, int port, boolean exclBind) argument
H A DDualStackPlainSocketImpl.java70 void socketConnect(InetAddress address, int port, int timeout) argument
79 connectResult = connect0(nativefd, address, port);
83 connectResult = connect0(nativefd, address, port);
92 * We need to set the local port field. If bind was called
100 void socketBind(InetAddress address, int port) throws IOException { argument
106 bind0(nativefd, address, port, exclusiveBind);
107 if (port == 0) {
110 localport = port;
146 /* Update socketImpls remote port, address and localport */
148 s.port
[all...]
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4933582.java138 System.out.println ("Server: listening on port: " + server.getLocalPort());
182 int port; // need to store the port number the server is using field in class:B4933582.CacheImpl
188 CacheImpl (int port) throws IOException { argument
190 this.port = port;
198 this.port = (Integer)is.readObject ();
199 System.out.println ("read port from file " + port);
212 return port;
[all...]
/openjdk7/jdk/test/java/net/MulticastSocket/
H A DNoLoopbackPackets.java73 int port = msock.getLocalPort();
79 groups.add(new InetSocketAddress(InetAddress.getByName("224.1.1.1"), port));
80 groups.add(new InetSocketAddress(InetAddress.getByName("::ffff:224.1.1.2"), port));
81 groups.add(new InetSocketAddress(InetAddress.getByName("ff02::1:1"), port));
/openjdk7/jdk/test/java/net/URLConnection/
H A DResponses.java69 public int port() { method in class:Responses.HttpServer
119 int port = svr.port();
132 URL url = new URL("http://localhost:" + port + "/" + i);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DBasicAccept.java76 int port() { method in class:BasicAccept.Server
88 static void client(int port) throws Exception { argument
92 = new InetSocketAddress(lh, port);
143 client(server.port());
H A DReadAfterConnect.java40 InetAddress.getByName(ByteServer.LOCALHOST), server.port());
H A DSelectWrite.java42 InetAddress.getByName(ByteServer.LOCALHOST), server.port());
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/
H A DJavaxSSLContextImpl.java42 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLServerSocketImpl.java96 * Create an SSL server socket on a port, using a non-default
99 * @param port the port on which to listen
104 SSLServerSocketImpl(int port, int backlog, SSLContextImpl context) argument
107 super(port, backlog);
113 * Create an SSL server socket on a port, using a specified
120 * @param port the port on which to listen
128 int port,
134 super(port, backlo
127 SSLServerSocketImpl( int port, int backlog, InetAddress address, SSLContextImpl context) argument
[all...]
/openjdk7/jdk/test/java/rmi/registry/classPathCodebase/
H A DClassPathCodebase.java87 int port = TestLibrary.getUnusedRandomPort();
92 Integer.toString(port) };
123 "localhost", port);
137 "Error: another registry running on port " +
138 port + "?");
/openjdk7/jdk/test/java/rmi/reliability/juicer/
H A DApplicationServer.java126 System.err.println(" -registryPort <port>");
132 System.err.println(" port The port the rmiregistry is running" +
139 int port = -1;
154 port = Integer.parseInt(args[i]);
160 if (port == -1) {
170 Thread server = new Thread(new ApplicationServer(num,host,port));
/openjdk7/jdk/test/sun/rmi/transport/tcp/disableMultiplexing/
H A DDisableMultiplexing.java27 * port for an applet or application that does not have permission to listen
28 * on that port, rather than engage in the deprecated "multiplexing protocol".
46 public void checkListen(int port) {
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DSnmpAdaptorServer.java88 * The default port number of the socket is 161. This default value can be
89 * changed by specifying a port number:
348 * Initializes this SNMP protocol adaptor using the default port (161).
358 * Initializes this SNMP protocol adaptor using the specified port.
362 * @param port The port number for sending SNMP responses.
364 public SnmpAdaptorServer(int port) { argument
365 this(true, null, port, null) ;
369 * Initializes this SNMP protocol adaptor using the default port (161)
383 * Initializes this SNMP protocol adaptor using the default port (16
406 SnmpAdaptorServer(InetAddressAcl acl, int port) argument
419 SnmpAdaptorServer(int port, InetAddress addr) argument
449 SnmpAdaptorServer(InetAddressAcl acl, int port, InetAddress addr) argument
469 SnmpAdaptorServer(boolean useAcl, int port, InetAddress addr) argument
476 SnmpAdaptorServer(boolean forceAcl, InetAddressAcl acl, int port, InetAddress addr) argument
576 setTrapPort(Integer port) argument
585 setTrapPort(int port) argument
608 setInformPort(int port) argument
1640 snmpV1Trap(InetAddress addr, int port, SnmpIpAddress agentAddr, String cs, SnmpOid enterpOid, int generic, int specific, SnmpVarBindList varBindList, SnmpTimeticks time) argument
1931 snmpV2Trap(InetAddress addr, int port, String cs, SnmpOid trapOid, SnmpVarBindList varBindList, SnmpTimeticks time) argument
2412 snmpInformRequest(InetAddress addr, int port, String cs, SnmpInformHandler cb, SnmpOid trapOid, SnmpVarBindList varBindList) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DSocket.java93 * is called with the proxy host address and port number
171 * Creates a stream socket and connects it to the specified port
185 * with the host address and <code>port</code>
189 * @param port the port number.
197 * @exception IllegalArgumentException if the port parameter is outside
198 * the specified range of valid port values, which is between
205 public Socket(String host, int port) argument
208 this(host != null ? new InetSocketAddress(host, port) :
209 new InetSocketAddress(InetAddress.getByName(null), port),
240 Socket(InetAddress address, int port) argument
278 Socket(String host, int port, InetAddress localAddr, int localPort) argument
317 Socket(InetAddress address, int port, InetAddress localAddr, int localPort) argument
364 Socket(String host, int port, boolean stream) argument
407 Socket(InetAddress host, int port, boolean stream) argument
[all...]
/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/lang/
H A DSecurityManager.java1014 * specified host and port number.
1016 * A port number of <code>-1</code> indicates that the calling
1021 * <code>SocketPermission(host+":"+port,"connect")</code> permission if
1022 * the port is not equal to -1. If the port is equal to -1, then
1031 * @param host the host name port to connect to.
1032 * @param port the protocol port to connect to.
1035 * <code>host</code> and <code>port</code>.
1040 public void checkConnect(String host, int port) { argument
1095 checkConnect(String host, int port, Object context) argument
1133 checkListen(int port) argument
1167 checkAccept(String host, int port) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsWatchService.java46 // background thread to service I/O completion port
50 * Creates an I/O completion port and a daemon thread to service it
53 // create I/O completion port
54 long port = 0L;
56 port = CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0);
61 this.poller = new Poller(fs, this, port);
242 * Background thread to service I/O completion port.
275 private final long port; field in class:WindowsWatchService.Poller
286 Poller(WindowsFileSystem fs, WindowsWatchService watcher, long port) { argument
289 this.port
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DSocketFactoryContactInfoImpl.java78 port = socketInfo.getPort();
107 + port
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest9.java109 static ClientThread test (boolean fixedLen, String protocol, String root, int port, String f, int size) throws Exception { argument
110 ClientThread t = new ClientThread (fixedLen, protocol, root, port, f, size);
122 int port; field in class:Test9.ClientThread
126 ClientThread (boolean fixedLen, String protocol, String root, int port, String f, int size) { argument
130 this.port = port;
137 URL url = new URL (protocol+"://localhost:"+port+"/test1/"+f);
175 System.out.println ("port = "+port);
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6421581.java48 int port = server.getAddress().getPort();
99 URL url = new URL("http://localhost:"+port+"/hello/url.text");
H A DB6431193.java73 int port = server.getAddress().getPort();
74 String s = "http://localhost:"+port+"/apps/foo";
/openjdk7/jdk/test/com/sun/tools/attach/
H A DPermissionTests.sh47 # pid = process-id, port = shutdown port
66 stopApplication $port

Completed in 69 milliseconds

1234567891011>>