public class ManagedSocketFactory extends Object implements org.jgroups.util.SocketFactory
SocketBindingManager.| Constructor and Description |
|---|
ManagedSocketFactory(org.jboss.as.network.SocketBindingManager manager,
Map<String,org.jboss.as.network.SocketBinding> socketBindings) |
public Socket createSocket(String name) throws IOException
createSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic Socket createSocket(String name, String host, int port) throws IOException
createSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic Socket createSocket(String name, InetAddress address, int port) throws IOException
createSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic Socket createSocket(String name, String host, int port, InetAddress localHost, int localPort) throws IOException
createSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic Socket createSocket(String name, InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String name) throws IOException
createServerSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String name, int port) throws IOException
createServerSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String name, int port, int backlog) throws IOException
createServerSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic ServerSocket createServerSocket(String name, int port, int backlog, InetAddress ifAddress) throws IOException
createServerSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic DatagramSocket createDatagramSocket(String name) throws SocketException
createDatagramSocket in interface org.jgroups.util.SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String name, SocketAddress address) throws SocketException
createDatagramSocket in interface org.jgroups.util.SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String name, int port) throws SocketException
createDatagramSocket in interface org.jgroups.util.SocketFactorySocketExceptionpublic DatagramSocket createDatagramSocket(String name, int port, InetAddress address) throws SocketException
createDatagramSocket in interface org.jgroups.util.SocketFactorySocketExceptionpublic MulticastSocket createMulticastSocket(String name) throws IOException
createMulticastSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic MulticastSocket createMulticastSocket(String name, int port) throws IOException
createMulticastSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic MulticastSocket createMulticastSocket(String name, SocketAddress address) throws IOException
createMulticastSocket in interface org.jgroups.util.SocketFactoryIOExceptionpublic void close(Socket socket) throws IOException
close in interface org.jgroups.util.SocketFactoryIOExceptionpublic void close(ServerSocket socket) throws IOException
close in interface org.jgroups.util.SocketFactoryIOExceptionpublic void close(DatagramSocket socket)
close in interface org.jgroups.util.SocketFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.