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 name) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String name, String host, int port) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String name, InetAddress address, int port) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String name, String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public Socket createSocket(String name, InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String name) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String name, int port) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String name, int port, int backlog) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public ServerSocket createServerSocket(String name, int port, int backlog, InetAddress bindAddr) throws IOException
createServerSocket
in interface org.jgroups.util.SocketFactory
IOException
public DatagramSocket createDatagramSocket(String name) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String name, SocketAddress bindAddress) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String name, int port) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public DatagramSocket createDatagramSocket(String name, int port, InetAddress localAddress) throws SocketException
createDatagramSocket
in interface org.jgroups.util.SocketFactory
SocketException
public MulticastSocket createMulticastSocket(String name) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public MulticastSocket createMulticastSocket(String name, int port) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public MulticastSocket createMulticastSocket(String name, SocketAddress bindAddress) throws IOException
createMulticastSocket
in interface org.jgroups.util.SocketFactory
IOException
public void close(Socket socket) throws IOException
close
in interface org.jgroups.util.SocketFactory
IOException
public void close(ServerSocket socket) throws IOException
close
in interface org.jgroups.util.SocketFactory
IOException
public void close(DatagramSocket socket)
close
in interface org.jgroups.util.SocketFactory
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.