public class ManagedSocketFactory extends Object implements org.jgroups.util.SocketFactory
SocketBindingManager.| Constructor and Description |
|---|
ManagedSocketFactory(org.jgroups.util.SocketFactory factory,
org.jboss.as.network.SocketBindingManager manager) |
public ManagedSocketFactory(org.jgroups.util.SocketFactory factory,
org.jboss.as.network.SocketBindingManager manager)
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 localAddress, 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 bindAddr) 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 bindAddress) 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 localAddress) 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 bindAddress) 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 © 2015 JBoss by Red Hat. All rights reserved.