Searched defs:port (Results 51 - 75 of 397) sorted by relevance

1234567891011>>

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/resolver/
H A DBootstrapResolverImpl.java53 public BootstrapResolverImpl(ORB orb, String host, int port) { argument
61 IIOPAddress addr = IIOPFactories.makeIIOPAddress( orb, host, port ) ;
92 // Just calling this same routine with the same host/port
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DDefaultIORToSocketInfoImpl.java55 int port = primary.getPort();
60 // instructive as leaving a ContactInfo with a 0 port in the list.
61 socketInfo = createSocketInfo(hostname, port);
71 port = alternate.getAddress().getPort();
72 socketInfo= createSocketInfo(hostname, port);
78 private SocketInfo createSocketInfo(final String hostname, final int port) argument
83 public int getPort() { return port; }};
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DRMIHelper.java35 private static int port; field in class:RMIHelper
47 port = Registry.REGISTRY_PORT;
48 tmp = System.getProperty("sun.jvm.hotspot.rmi.port");
51 port = Integer.parseInt(tmp);
53 System.err.println("invalid port supplied, assuming default");
69 LocateRegistry.createRegistry(port);
92 // debugServerID follows the pattern [unique_id@]host[:port]
93 // we have to transform this as //host[:port]/<serverNamePrefix>['_'<unique_id>]
126 if (port != Registry.REGISTRY_PORT) {
127 name = "//localhost:" + port
[all...]
/openjdk7/jdk/src/share/classes/javax/net/
H A DSocketFactory.java134 * 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...]
/openjdk7/jdk/src/share/classes/javax/rmi/ssl/
H A DSslRMIClientSocketFactory.java114 public Socket createSocket(String host, int port) throws IOException { argument
121 sslSocketFactory.createSocket(host, port);
201 // overriding createSocket(String host, int port).
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DLDAPCertStoreParameters.java32 * name and port number) to implementations of the LDAP <code>CertStore</code>
52 * the port number of the LDAP server
54 private int port; field in class:LDAPCertStoreParameters
66 * @param port the port number of the LDAP server
70 public LDAPCertStoreParameters(String serverName, int port) { argument
74 this.port = port;
79 * specified server name and a default port of 389.
91 * default parameter values (server name "localhost", port 38
[all...]
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DSocketHandler.java57 * <li> java.util.logging.SocketHandler.port
58 * specifies the target TCP port to use (no default).
70 private int port; field in class:SocketHandler
93 port = manager.getIntProperty(cname + ".port", 0);
101 * @throws IllegalArgumentException if the host or port are invalid or
104 * host and port.
114 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
121 * Construct a <tt>SocketHandler</tt> using a specified host and port.
125 * and port argument
135 SocketHandler(String host, 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/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpPdu.java87 * Source or destination port.
92 public int port=0 ; field in class:SnmpPdu
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapClientFactory.java46 final private int port; field in class:LdapClientFactory
52 LdapClientFactory(String host, int port, String socketFactory, argument
55 this.port = port;
64 return new LdapClient(host, port, socketFactory,
69 return host + ":" + port;
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/www/protocol/https/
H A DHandler.java44 public Handler(String proxy, int port) { argument
45 super(proxy, port);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DQueryListener.java63 private int port; field in class:QueryListener
65 public QueryListener(int port) { argument
66 this.port = port;
88 ServerSocket ss = new ServerSocket(port);
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_MidiUtils.h57 MIDIPortRef port; /* input or output port associated with the endpoint */ member in struct:__anon495
86 // Mac OS X port for locking and synchronization.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/
H A DWSDLProperties.java48 private final @NotNull WSDLPort port; field in class:WSDLProperties
50 public WSDLProperties(@NotNull WSDLPort port) { argument
51 this.port = port;
56 return port.getOwner().getName();
61 return port.getName();
66 return port.getBinding().getPortTypeName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/
H A DBuilderHandlerEndpointScope.java45 private final QName port; field in class:BuilderHandlerEndpointScope
48 BuilderHandlerEndpointScope(Collection<String> policyURIs, Map<String,PolicySourceModel> policyStore, Object policySubject, QName service, QName port) { argument
52 this.port = port;
56 final PolicyMapKey mapKey = PolicyMap.createWsdlEndpointScopeKey(service, port);
64 return (new StringBuffer(service.toString())).append(":").append(port.toString()).toString();
H A DBuilderHandlerOperationScope.java45 private final QName port; field in class:BuilderHandlerOperationScope
53 , QName service, QName port, QName operation) {
57 this.port = port;
62 final PolicyMapKey mapKey = PolicyMap.createWsdlOperationScopeKey(service, port, operation);
49 BuilderHandlerOperationScope( Collection<String> policyURIs , Map<String,PolicySourceModel> policyStore , Object policySubject , QName service, QName port, QName operation) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/
H A DService.java48 public Port port(); method in interface:Service
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DSelCacheTest.java73 int port = s1.getAddress().getPort();
75 test (true, "http", root+"/test1", port, "smallfile.txt", 23);
76 test (true, "http", root+"/test1", port, "largefile.txt", 2730088);
79 test (false, "http", root+"/test1", port, "smallfile.txt", 23);
80 test (false, "http", root+"/test1", port, "largefile.txt", 2730088);
92 static void test (boolean fixedLen, String protocol, String root, int port, String f, int size) throws Exception { argument
94 URL url = new URL (protocol+"://localhost:"+port+"/test1/"+f);
H A DTest1.java80 int port = s1.getAddress().getPort();
82 test (true, "http", root+"/test1", port, "smallfile.txt", 23);
83 test (true, "http", root+"/test1", port, "largefile.txt", 2730088);
86 test (false, "http", root+"/test1", port, "smallfile.txt", 23);
87 test (false, "http", root+"/test1", port, "largefile.txt", 2730088);
102 static void test (boolean fixedLen, String protocol, String root, int port, String f, int size) throws Exception { argument
103 URL url = new URL (protocol+"://localhost:"+port+"/test1/"+f);
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6401598.java76 static int port; field in class:B6401598
87 port = server.getAddress().getPort();
93 HttpURLConnection connection = getHttpURLConnection(new URL("http://127.0.0.1:"+port+"/server/"), 10000);
/openjdk7/jdk/test/java/net/DatagramSocketImpl/
H A DCheckDiscard.java93 int port; field in class:CheckDiscard.Sender
95 Sender(int port) throws Exception { argument
97 this.port = port;
121 p.setPort( port );
/openjdk7/jdk/test/java/net/ProxySelector/
H A DLoopbackAddresses.java98 * Origin server's address and port that the client
103 public ProxyServer(InetAddress server, int port) throws IOException { argument
105 serverPort = port;
/openjdk7/jdk/test/java/net/Socket/
H A DLingerTest.java72 int port; field in class:LingerTest.Another
76 public Another(int port, long delay) { argument
77 this.port = port;
85 Socket s = new Socket("localhost", port);
/openjdk7/jdk/test/java/net/URLConnection/
H A DRedirect307Test.java37 int port; field in class:RedirServer
51 port = this.ss.getLocalPort();
83 String reply = reply1Part1 + port + reply1Part2;
105 int port = sock.getLocalPort();
109 URL url = new URL("http://localhost:" + port);
H A DRedirectLimit.java58 final int port; field in class:RedirLimitServer
62 port = this.ss.getLocalPort();
89 String reply = reply1 + port + "/redirect" + i + reply2;
109 int port = ss.getLocalPort();
113 URL url = new URL("http://localhost:" + port);

Completed in 93 milliseconds

1234567891011>>