public class ManagedSocketFactory extends Object implements org.jgroups.util.SocketFactory
SocketBindingManager
.Constructor and Description |
---|
ManagedSocketFactory(org.jgroups.util.SocketFactory factory,
SocketBindingManager manager) |
public ManagedSocketFactory(org.jgroups.util.SocketFactory factory, SocketBindingManager manager)
public Socket createSocket(String serviceName) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String serviceName, String host, int port) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String serviceName, InetAddress address, int port) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String serviceName, String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String serviceName, InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String serviceName) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String serviceName, int port) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String serviceName, int port, int backlog) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String serviceName, int port, int backlog, InetAddress bindAddr) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public DatagramSocket createDatagramSocket(String serviceName) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String serviceName, SocketAddress bindAddress) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String serviceName, int port) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String serviceName, int port, InetAddress localAddress) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public MulticastSocket createMulticastSocket(String serviceName) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public MulticastSocket createMulticastSocket(String serviceName, int port) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public MulticastSocket createMulticastSocket(String serviceName, SocketAddress bindAddress) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public void close(Socket sock) throws IOException
close
in interface org.jgroups.util.SocketFactory
IOException
public void close(ServerSocket sock) throws IOException
close
in interface org.jgroups.util.SocketFactory
IOException
public void close(DatagramSocket sock)
close
in interface org.jgroups.util.SocketFactory
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.