Searched defs:port (Results 1 - 25 of 397) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/rmi/registry/altSecurityManager/
H A DTestSecurityManager.java30 public void checkListen(int port) { argument
/openjdk7/jdk/test/java/rmi/registry/readTest/testPkg/
H A DClient.java30 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 DRMIServerFactory.java39 public ServerSocket createServerSocket(int port) throws IOException { argument
43 System.out.println("Calling createServerSocket(" + port + ")");
44 ServerSocket ss = new ServerSocket(port);
H A DRMIClientFactory.java39 public Socket createSocket(String host, int port) throws IOException { argument
43 System.out.println("Calling createSocket("+host+","+port+")");
44 Socket s = new Socket(host, port);
/openjdk7/jdk/src/share/sample/nio/server/
H A DB1.java52 B1(int port, int backlog, boolean secure) throws Exception { argument
53 super(port, backlog, secure);
H A DBN.java53 BN(int port, int backlog, boolean secure) throws Exception { argument
54 super(port, backlog, secure);
H A DN1.java53 N1(int port, int backlog, boolean secure) throws Exception { argument
54 super(port, backlog, secure);
H A DN2.java50 N2(int port, int backlog, boolean secure) throws Exception { argument
51 super(port, backlog, secure);
H A DBP.java55 BP(int port, int backlog, boolean secure) throws Exception { argument
56 super(port, backlog, secure);
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DRMIClientSocketFactory.java65 * 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 DRMIServerSocketFactory.java64 * 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/jdk/test/java/net/Inet6Address/
H A DB6558853.java37 private int port = 0; field in class:B6558853
41 int port = ss.getLocalPort();
61 B6558853 test = new B6558853(dest, port);
76 public B6558853(InetAddress a, int port) { argument
78 this.port = port;
83 Socket s = new Socket(addr, port);
/openjdk7/jdk/test/java/net/PortUnreachableException/
H A DConcurrent.java59 Concurrent(InetAddress ia, int port) throws Exception { argument
73 s.connect(ia, port);
100 * Give time for ICMP port unreachables to return
111 int port;
114 port = Integer.parseInt(args[1]);
118 port = s1.getLocalPort();
122 new Concurrent(ia, port);
H A DOneExceptionOnly.java36 static void doTest(InetAddress ia, int port, boolean testSend) throws Exception { argument
55 s1.connect(ia, port);
84 * Give time for ICMP port unreachables to return
128 int port;
131 port = Integer.parseInt(args[1]);
135 port = s1.getLocalPort();
139 doTest(ia, port, true);
140 doTest(ia, port, false);
/openjdk7/jdk/test/java/net/Socket/
H A DCloseAvailable.java38 static int port; field in class:CloseAvailable
44 port = ss.getLocalPort();
67 Socket s = new Socket(addr, port);
H A DGetLocalAddress.java36 static int port; field in class:GetLocalAddress
44 port = ss.getLocalPort();
60 Socket s = new Socket(addr, port);
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DUseDGWithIPv6.java41 static int port = 12345; field in class:UseDGWithIPv6
50 SocketAddress sa = new InetSocketAddress(targets[i], port);
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/
H A DCloseFailedClientTest.java47 * we use a fix port on which we hope no server is running,
50 * The port 999 is specified in
51 * http://www.iana.org/assignments/port-numbers
58 * If the test fails because a server runs on this port and does
62 private static final int port = 999; field in class:CloseFailedClientTest
98 JMXServiceURL url = new JMXServiceURL(proto, null, port);
/openjdk7/jdk/src/share/sample/nio/multicast/
H A DMulticastAddress.java52 private final int port; field in class:MulticastAddress
55 private MulticastAddress(InetAddress group, int port, NetworkInterface interf) { argument
57 this.port = port;
65 int port() { method in class:MulticastAddress
66 return port;
77 * Parses a string of the form "group:port[@interface]", returning
85 // get group and port
90 throw new IllegalArgumentException("group:port expected");
92 int port
[all...]
/openjdk7/jdk/src/share/classes/javax/net/
H A DServerSocketFactory.java103 * 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...]
/openjdk7/jdk/src/share/classes/java/rmi/registry/
H A DLocateRegistry.java44 * 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...]
H A DRegistryHandler.java45 * on the specified host and port.
51 * @param port remote registry port
57 Registry registryStub(String host, int port) argument
61 * Constructs and exports a Registry on the specified port.
62 * The port must be non-zero.
67 * @param port port to export registry on
72 Registry registryImpl(int port) throws RemoteException; argument
/openjdk7/jdk/src/windows/classes/sun/net/
H A DNetHooks.java43 int port)
54 int port)
41 beforeTcpBind(FileDescriptor fdObj, InetAddress address, int port) argument
52 beforeTcpConnect(FileDescriptor fdObj, InetAddress address, int port) argument
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest10.java47 int port = server.getAddress().getPort();
54 doClient(port);
78 public static void doClient (int port) throws Exception { argument
81 Socket socket = new Socket ("localhost", port);
/openjdk7/jdk/test/java/net/DatagramPacket/
H A DReuseBuf.java35 static int port; field in class:ReuseBuf
42 port = ds.getLocalPort();
77 port));

Completed in 148 milliseconds

1234567891011>>