/javamail/demo/src/main/java/internal/ |
H A D | foldersplit.java | 51 static int port = -1; field in class:foldersplit 80 port = Integer.parseInt(argv[++optind]); 86 "Usage: foldersplit [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 117 store.connect(host, port, user, password);
|
/javamail/demo/src/main/java/ |
H A D | namespace.java | 50 static int port = -1; field in class:namespace 72 port = Integer.parseInt(argv[++optind]); 80 "Usage: namespace [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 111 store.connect(host, port, user, password);
|
H A D | msgshow.java | 54 static int port = -1; field in class:msgshow 85 port = Integer.parseInt(argv[++optind]); 99 "Usage: msgshow [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 155 store.connect(host, port, user, password);
|
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | MailConnectException.java | 58 private int port; field in class:MailConnectException 70 "Couldn't connect to host, port: " + 76 this.port = cex.getPort(); 91 * The port we were trying to connect to. 93 * @return the port 96 return port;
|
H A D | SocketConnectException.java | 61 * The socket port. 63 private int port; field in class:SocketConnectException 79 * @param port the port we were trying to connect to 83 String host, int port, int cto) { 87 this.port = port; 113 * The port we were trying to connect to. 115 * @return the port 118 return port; 82 SocketConnectException(String msg, Exception cause, String host, int port, int cto) argument [all...] |
H A D | SocketFetcher.java | 86 * <li> <i>prefix</i>.socketFactory.port 89 * <li> <i>prefix</i>.ssl.socketFactory.port 109 * given host and port. If the socketFactory.class property is set, 118 * The socketFactory.port specifies a port to use when connecting 119 * through the socket factory. If unset, the port argument will be 130 * local port number to bind to. <p> 138 * @param port The port to connect to at the host 145 public static Socket getSocket(String host, int port, Propertie argument 252 getSocket(String host, int port, Properties props, String prefix) argument 264 createSocket(InetAddress localaddr, int localport, String host, int port, int cto, int to, Properties props, String prefix, SocketFactory sf, boolean useSSL) argument [all...] |
H A D | WriteTimeoutSocket.java | 76 public WriteTimeoutSocket(InetAddress address, int port, int timeout) argument 79 socket.connect(new InetSocketAddress(address, port)); 82 public WriteTimeoutSocket(InetAddress address, int port, argument 87 socket.connect(new InetSocketAddress(address, port)); 90 public WriteTimeoutSocket(String host, int port, int timeout) argument 93 socket.connect(new InetSocketAddress(host, port)); 96 public WriteTimeoutSocket(String host, int port, argument 101 socket.connect(new InetSocketAddress(host, port));
|
/javamail/mail/src/test/java/com/sun/mail/test/ |
H A D | TestServer.java | 90 * Allowing the JDK to pick a port number sometimes results in it 94 * creation will fail if the port is already in use. 96 * XXX - perhaps we should use Random to choose a port number in 97 * the emphemeral range, in case a lot of low port numbers are 100 for (int port = 49152; port < 50000 /*65535*/; port++) { 102 if (isListening(port)) 106 serverSocket = createServerSocket(port, isSSL); 112 throw new RuntimeException("Can't find unused port"); 115 createServerSocket(int port, boolean isSSL) argument 200 isListening(int port) argument [all...] |
H A D | SavedSocketFactory.java | 69 public Socket createSocket(InetAddress host, int port) argument 71 return save(factory.createSocket(host, port)); 74 public Socket createSocket(InetAddress address, int port, argument 78 address, port, localAddress, localPort)); 81 public Socket createSocket(String host, int port) throws IOException { argument 82 return save(factory.createSocket(host, port)); 85 public Socket createSocket(String host, int port, argument 88 return save(factory.createSocket(host, port, localHost, localPort));
|
/javamail/mail/src/main/java/javax/mail/ |
H A D | Authenticator.java | 89 * @param port the port for the requested connection 97 InetAddress addr, int port, String protocol, 100 requestingPort = port; 116 * @return the port for the requested connection 96 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String defaultUserName) argument
|
H A D | URLName.java | 101 * The protocol port to connect to. 103 private int port = -1; field in class:URLName 135 * host, port number, file, username, and password. Specifying a port 136 * number of -1 indicates that the URL should use the default port for 141 * @param port the port number 149 int port, 157 this.port = port; 146 URLName( String protocol, String host, int port, String file, String username, String password ) argument [all...] |
H A D | Service.java | 114 int port = -1; 125 port = url.getPort(); 156 url = new URLName(protocol, host, port, file, user, password); 271 * Similar to connect(host, user, password) except a specific port 275 * @param port the port to connect to (-1 means the default port) 284 public synchronized void connect(String host, int port, argument 304 if (port == -1) 305 port 451 protocolConnect(String host, int port, String user, String password) argument [all...] |
H A D | Session.java | 865 * Connecting to <protocol> mail service on host <addr>, port <port>. 873 * @param port the port on the host 882 InetAddress addr, int port, 887 addr, port, protocol, prompt, defaultUserName); 881 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String defaultUserName) argument
|
/javamail/gimap/src/main/java/com/sun/mail/gimap/ |
H A D | GmailStore.java | 95 protected IMAPProtocol newIMAPProtocol(String host, int port) argument 97 return new GmailProtocol(name, host, port,
|
/javamail/mail/src/oldtest/java/javax/mail/internet/ |
H A D | messagecachetest.java | 62 static int port = -1; field in class:messagecachetest 89 port = Integer.parseInt(argv[++optind]); 95 "Usage: messagecachetest [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 129 store.connect(host, port, user, password);
|
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | MboxStore.java | 87 protected boolean protocolConnect(String host, int port, String user, argument
|
/javamail/mbox/src/main/java/com/sun/mail/remote/ |
H A D | RemoteStore.java | 57 protected int port; field in class:RemoteStore 75 public void connect(String host, int port, String user, String password) argument 78 this.port = port; 97 remoteStore.connect(host, port, user, password); 104 super.connect(host, port, user, password);
|
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/ |
H A D | GmailProtocol.java | 96 * @param port portnumber to connect to 103 public GmailProtocol(String name, String host, int port, argument 106 super(name, host, port, props, isSSL, logger);
|
/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | ParameterListDecode.java | 76 static int port = -1; field in class:ParameterListDecode 118 port = Integer.parseInt(argv[++optind]); 128 "or\tparamtest -m [-g] [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 367 store.connect(host, port, user, password);
|
/javamail/mail/src/main/java/com/sun/mail/iap/ |
H A D | Protocol.java | 100 * Opens a connection to the given host at given port. 103 * @param port portnumber to connect to 111 public Protocol(String host, int port, argument 123 socket = SocketFetcher.getSocket(host, port, props, prefix, isSSL);
|
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | POP3Folder.java | 70 private volatile Protocol port; field in class:POP3Folder 207 port = store.getPort(this); 208 Status s = port.stat(); 223 if (port != null) 224 port.quit(); 228 port = null; 255 port.rset(); 263 port.dele(i + 1); 282 port.close(); 284 port [all...] |
H A D | POP3Store.java | 73 private int defaultPort = 110; // default POP3 port 76 private Protocol port = null; // POP3 port for self field in class:POP3Store 77 private POP3Folder portOwner = null; // folder owning port 197 // if port is not specified, set it to value of mail.pop3.port 201 "mail." + name + ".port", -1); 211 port = getPort(null); 241 if (port == null) 242 port [all...] |
H A D | Protocol.java | 83 private static final int POP3_PORT = 110; // standard POP3 port 91 Protocol(String host, int port, MailLogger logger, argument 106 if (port == -1) 107 port = POP3_PORT; 110 "\", port " + port + ", isSSL " + isSSL); 112 socket = SocketFetcher.getSocket(host, port, props, prefix, isSSL);
|
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | IMAPStore.java | 186 protected final int defaultPort; // default IMAP port 201 private volatile int port = -1; // port to use field in class:IMAPStore 668 // set the port correctly 670 port = pport; 672 port = PropUtil.getIntSessionProperty(session, 673 "mail." + name + ".port", port); 677 if (port == -1) { 678 port 753 newIMAPProtocol(String host, int port) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | IMAPProtocol.java | 112 * Opens a connection to the given host at given port. 116 * @param port port number to connect to 123 public IMAPProtocol(String name, String host, int port, argument 126 super(host, port, props, "mail." + name, isSSL, logger);
|