Home | History | Annotate | Download | only in net

Lines Matching refs:Socket

21 import java.net.Socket;
38 * Invoked after obtaining a socket from the delegate and before returning it to the caller.
42 protected Socket configureSocket(Socket socket) throws IOException {
43 return socket;
47 public Socket createSocket() throws IOException {
48 Socket socket = mDelegate.createSocket();
49 return configureSocket(socket);
53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
54 Socket socket = mDelegate.createSocket(host, port);
55 return configureSocket(socket);
59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort);
62 return configureSocket(socket);
66 public Socket createSocket(InetAddress host, int port) throws IOException {
67 Socket socket = mDelegate.createSocket(host, port);
68 return configureSocket(socket);
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort);
75 return configureSocket(socket);