public interface SocketFactory
createServerSocket(String, int, int) is the same as java.net.ServerSocket(int,int).Socket createSocket(String service_name) throws IOException
IOExceptionSocket createSocket(String service_name, String host, int port) throws IOException
IOExceptionSocket createSocket(String service_name, InetAddress address, int port) throws IOException
IOExceptionSocket createSocket(String service_name, String host, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionSocket createSocket(String service_name, InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionServerSocket createServerSocket(String service_name) throws IOException
IOExceptionServerSocket createServerSocket(String service_name, int port) throws IOException
IOExceptionServerSocket createServerSocket(String service_name, int port, int backlog) throws IOException
IOExceptionServerSocket createServerSocket(String service_name, int port, int backlog, InetAddress bindAddr) throws IOException
IOExceptionDatagramSocket createDatagramSocket(String service_name) throws SocketException
SocketExceptionDatagramSocket createDatagramSocket(String service_name, SocketAddress bindaddr) throws SocketException
SocketExceptionDatagramSocket createDatagramSocket(String service_name, int port) throws SocketException
SocketExceptionDatagramSocket createDatagramSocket(String service_name, int port, InetAddress laddr) throws SocketException
SocketExceptionMulticastSocket createMulticastSocket(String service_name) throws IOException
IOExceptionMulticastSocket createMulticastSocket(String service_name, int port) throws IOException
IOExceptionMulticastSocket createMulticastSocket(String service_name, SocketAddress bindaddr) throws IOException
IOExceptionvoid close(Socket sock) throws IOException
IOExceptionvoid close(ServerSocket sock) throws IOException
IOExceptionvoid close(DatagramSocket sock)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.