Uses of Interface
org.jgroups.util.SocketFactory
Packages that use SocketFactory
Package
Description
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of SocketFactory in org.jgroups.blocks.cs
Fields in org.jgroups.blocks.cs declared as SocketFactoryMethods in org.jgroups.blocks.cs that return SocketFactoryMethods in org.jgroups.blocks.cs with parameters of type SocketFactoryConstructors in org.jgroups.blocks.cs with parameters of type SocketFactoryModifierConstructorDescriptionprotectedBaseServer(ThreadFactory f, SocketFactory sf, int recv_buf_size) protectedNioBaseServer(ThreadFactory f, SocketFactory sf, int recv_buf_size) NioServer(ThreadFactory thread_factory, SocketFactory socket_factory, InetAddress bind_addr, int srv_port, int end_port, InetAddress external_addr, int external_port, int recv_buf_size) NioServer(ThreadFactory thread_factory, SocketFactory socket_factory, InetAddress bind_addr, int srv_port, int end_port, InetAddress external_addr, int external_port, int recv_buf_size, String service_name) Creates an instance ofNioServerthat opens a server channel and listens for connections.protectedTcpBaseServer(ThreadFactory f, SocketFactory sf, int recv_buf_size) TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory, InetAddress bind_addr, int srv_port, int end_port, InetAddress external_addr, int external_port, int recv_buf_size) TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory, InetAddress bind_addr, int srv_port, int end_port, InetAddress external_addr, int external_port, int recv_buf_size, String service_name) 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 SocketFactoryMethods in org.jgroups.protocols that return SocketFactoryMethods in org.jgroups.protocols with parameters of type SocketFactoryModifier and TypeMethodDescriptionvoidTCP.setSocketFactory(SocketFactory factory) voidTP.setSocketFactory(SocketFactory factory) -
Uses of SocketFactory in org.jgroups.stack
Fields in org.jgroups.stack declared as SocketFactoryModifier and TypeFieldDescriptionprotected final SocketFactoryDiagnosticsHandler.socket_factoryprotected SocketFactoryGossipRouter.socket_factoryprotected SocketFactoryRouterStub.socket_factoryprotected SocketFactoryRouterStubManager.socket_factoryMethods in org.jgroups.stack that return SocketFactoryModifier and TypeMethodDescriptionProtocol.getSocketFactory()Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call downGossipRouter.socketFactory()Methods in org.jgroups.stack with parameters of type SocketFactoryModifier and TypeMethodDescriptionprotected BaseServerRouterStub.createClient(SocketFactory sf) voidProtocol.setSocketFactory(SocketFactory factory) Sets a SocketFactory.GossipRouter.socketFactory(SocketFactory sf) RouterStubManager.socketFactory(SocketFactory socket_factory) Constructors in org.jgroups.stack with parameters of type SocketFactoryModifierConstructorDescriptionDiagnosticsHandler(Log log, SocketFactory socket_factory, ThreadFactory thread_factory) RouterStub(InetSocketAddress local_sa, InetSocketAddress remote_sa, boolean use_nio, RouterStub.CloseListener l, SocketFactory sf) RouterStub(InetSocketAddress local_sa, InetSocketAddress remote_sa, boolean use_nio, RouterStub.CloseListener l, SocketFactory sf, int linger) RouterStub(InetSocketAddress local_sa, InetSocketAddress remote_sa, boolean use_nio, RouterStub.CloseListener l, SocketFactory sf, int linger, boolean non_blocking_sends, int max_send_queue) Creates a stub to a remote_saGossipRouter. -
Uses of SocketFactory in org.jgroups.util
Classes in org.jgroups.util that implement SocketFactoryModifier and TypeClassDescriptionclassDefault implementation, ignores service namesFields in org.jgroups.util declared as SocketFactoryModifier and TypeFieldDescriptionprivate static final SocketFactoryResourceManager.socket_factoryMethods in org.jgroups.util that return SocketFactoryModifier and TypeMethodDescriptionTLS.createSocketFactory()TLS.createSocketFactory(SSLContext context) Methods in org.jgroups.util with parameters of type SocketFactoryModifier and TypeMethodDescriptionstatic DatagramSocketUtil.createDatagramSocket(SocketFactory factory, String service_name, InetAddress addr, int port) Creates a DatagramSocket bound to addr.static MulticastSocketUtil.createMulticastSocket(SocketFactory factory, String service_name, InetAddress mcast_addr, int port, Log log) static ServerSocketUtil.createServerSocket(SocketFactory factory, String service_name, InetAddress bind_addr, int start_port, int end_port, int recv_buf_size) static ServerSocketChannelUtil.createServerSocketChannel(SocketFactory factory, String service_name, InetAddress bind_addr, int start_port, int end_port, int recv_buf_size)