public class DefaultSocketFactory extends Object implements SocketFactory
| Constructor and Description |
|---|
DefaultSocketFactory() |
public Socket createSocket(String service_name) throws IOException
createSocket in interface SocketFactoryIOExceptionpublic Socket createSocket(String service_name, String host, int port) throws IOException
createSocket in interface SocketFactoryIOExceptionpublic Socket createSocket(String service_name, InetAddress address, int port) throws IOException
createSocket in interface SocketFactoryIOExceptionpublic Socket createSocket(String service_name, String host, int port, InetAddress localAddr, int localPort) throws IOException
createSocket in interface SocketFactoryIOExceptionpublic Socket createSocket(String service_name, InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException
createSocket in interface SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String service_name) throws IOException
createServerSocket in interface SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String service_name, int port) throws IOException
createServerSocket in interface SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String service_name, int port, int backlog) throws IOException
createServerSocket in interface SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String service_name, int port, int backlog, InetAddress bindAddr) throws IOException
createServerSocket in interface SocketFactoryIOExceptionpublic DatagramSocket createDatagramSocket(String service_name) throws SocketException
createDatagramSocket in interface SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String service_name, SocketAddress bindaddr) throws SocketException
createDatagramSocket in interface SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String service_name, int port) throws SocketException
createDatagramSocket in interface SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String service_name, int port, InetAddress laddr) throws SocketException
createDatagramSocket in interface SocketFactorySocketExceptionpublic MulticastSocket createMulticastSocket(String service_name) throws IOException
createMulticastSocket in interface SocketFactoryIOExceptionpublic MulticastSocket createMulticastSocket(String service_name, int port) throws IOException
createMulticastSocket in interface SocketFactoryIOExceptionpublic MulticastSocket createMulticastSocket(String service_name, SocketAddress bindaddr) throws IOException
createMulticastSocket in interface SocketFactoryIOExceptionpublic void close(Socket sock) throws IOException
close in interface SocketFactoryIOExceptionpublic void close(ServerSocket sock) throws IOException
close in interface SocketFactoryIOExceptionpublic void close(DatagramSocket sock)
close in interface SocketFactorypublic Map<Object,String> getSockets()
SocketFactorygetSockets in interface SocketFactoryCopyright © 2012 JBoss by Red Hat. All Rights Reserved.