1 2 3 27 28 29 package org.apache.catalina.net; 30 31 32 import java.io.IOException ; 33 import java.net.InetAddress ; 34 import java.net.ServerSocket ; 35 import java.security.KeyStoreException ; 36 import java.security.NoSuchAlgorithmException ; 37 import java.security.cert.CertificateException ; 38 import java.security.UnrecoverableKeyException ; 39 import java.security.KeyManagementException ; 40 41 42 52 public interface ServerSocketFactory { 53 54 55 57 58 77 public ServerSocket createSocket (int port) 78 throws IOException , KeyStoreException , NoSuchAlgorithmException , 79 CertificateException , UnrecoverableKeyException , 80 KeyManagementException ; 81 82 83 103 public ServerSocket createSocket (int port, int backlog) 104 throws IOException , KeyStoreException , NoSuchAlgorithmException , 105 CertificateException , UnrecoverableKeyException , 106 KeyManagementException ; 107 108 109 130 public ServerSocket createSocket (int port, int backlog, 131 InetAddress ifAddress) 132 throws IOException , KeyStoreException , NoSuchAlgorithmException , 133 CertificateException , UnrecoverableKeyException , 134 KeyManagementException ; 135 136 137 } 138 | Popular Tags |