1
package org.jboss.remoting.security;
3
import java.io.IOException;
4
import java.net.InetAddress;
5
import java.net.Socket;
6
import java.net.UnknownHostException;
9
* @author <a href="mailto:telrod@e2technologies.net">Tom Elrod</a>
11
public interface SocketFactoryMBean
13
public Socket createSocket(String host, int port) throws IOException, UnknownHostException;
15
public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
16
throws IOException, UnknownHostException;
18
public Socket createSocket(InetAddress host, int port) throws IOException;
20
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)