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