Uses of Interface
org.jgroups.util.SocketFactory
-
Packages that use SocketFactory Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks.cs This package contains all client-server related interfaces and classesorg.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.stack Support for managing protocol stacks.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of SocketFactory in org.jgroups
Methods in org.jgroups that return SocketFactory Modifier and Type Method Description SocketFactoryChannel. getSocketFactory()Deprecated.Methods in org.jgroups with parameters of type SocketFactory Modifier and Type Method Description voidChannel. setSocketFactory(SocketFactory factory)Deprecated. -
Uses of SocketFactory in org.jgroups.blocks.cs
Fields in org.jgroups.blocks.cs declared as SocketFactory Modifier and Type Field Description protected SocketFactoryBaseServer. socket_factoryMethods in org.jgroups.blocks.cs that return SocketFactory Modifier and Type Method Description SocketFactoryBaseServer. socketFactory()Methods in org.jgroups.blocks.cs with parameters of type SocketFactory Modifier and Type Method Description BaseServerBaseServer. socketFactory(SocketFactory factory)Constructors in org.jgroups.blocks.cs with parameters of type SocketFactory Constructor Description BaseServer(ThreadFactory f, SocketFactory sf)NioBaseServer(ThreadFactory f, SocketFactory sf)NioClient(ThreadFactory thread_factory, SocketFactory sf)NioServer(ThreadFactory f, SocketFactory sf)NioServer(ThreadFactory thread_factory, SocketFactory socket_factory, java.net.InetAddress bind_addr, int srv_port, int end_port, java.net.InetAddress external_addr, int external_port)Creates an instance ofNioServerthat opens a server channel and listens for connections.TcpBaseServer(ThreadFactory f, SocketFactory sf)TcpClient(ThreadFactory thread_factory, SocketFactory socket_factory)TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory)TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory, java.net.InetAddress bind_addr, int srv_port, int end_port, java.net.InetAddress external_addr, int external_port)Creates an instance ofTcpServerthat creates a server socket and listens for connections Needs to be started next. -
Uses of SocketFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as SocketFactory Modifier and Type Field Description protected SocketFactoryTP. socket_factoryMethods in org.jgroups.protocols that return SocketFactory Modifier and Type Method Description SocketFactoryTP. getSocketFactory()Methods in org.jgroups.protocols with parameters of type SocketFactory Modifier and Type Method Description voidTCP. setSocketFactory(SocketFactory factory)voidTP. setSocketFactory(SocketFactory factory) -
Uses of SocketFactory in org.jgroups.stack
Fields in org.jgroups.stack declared as SocketFactory Modifier and Type Field Description protected SocketFactoryDiagnosticsHandler. socket_factoryprotected SocketFactoryGossipRouter. socket_factoryMethods in org.jgroups.stack that return SocketFactory Modifier and Type Method Description SocketFactoryProtocol. getSocketFactory()Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call downSocketFactoryGossipRouter. socketFactory()Methods in org.jgroups.stack with parameters of type SocketFactory Modifier and Type Method Description voidProtocol. setSocketFactory(SocketFactory factory)Sets a SocketFactory.GossipRouterGossipRouter. socketFactory(SocketFactory sf)RouterStubManagerRouterStubManager. socketFactory(SocketFactory socket_factory)Constructors in org.jgroups.stack with parameters of type SocketFactory Constructor Description DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, java.util.List<java.net.NetworkInterface> bind_interfaces, int diagnostics_ttl, Log log, SocketFactory socket_factory, ThreadFactory thread_factory, java.lang.String passcode)DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, Log log, SocketFactory socket_factory, ThreadFactory thread_factory)DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, Log log, SocketFactory socket_factory, ThreadFactory thread_factory, java.lang.String passcode)RouterStub(java.net.InetAddress bind_addr, int bind_port, java.net.InetAddress router_host, int router_port, boolean use_nio, RouterStub.CloseListener l, SocketFactory socketFactory)Creates a stub to a remote GossipRouterRouterStub(IpAddress local, IpAddress remote, boolean use_nio, RouterStub.CloseListener l, SocketFactory socketFactory) -
Uses of SocketFactory in org.jgroups.util
Classes in org.jgroups.util that implement SocketFactory Modifier and Type Class Description classDefaultSocketFactoryDefault implementation, ignores service namesMethods in org.jgroups.util with parameters of type SocketFactory Modifier and Type Method Description static java.net.DatagramSocketUtil. createDatagramSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress addr, int port)Creates a DatagramSocket bound to addr.static java.net.MulticastSocketUtil. createMulticastSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress mcast_addr, int port, Log log)static java.net.ServerSocketUtil. createServerSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port)static java.net.ServerSocketUtil. createServerSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port)static java.net.ServerSocketUtil. createServerSocketAndBind(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port)Finds first available port starting at start_port and returns server socket.static java.nio.channels.ServerSocketChannelUtil. createServerSocketChannel(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port)
-