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