Uses of Interface
org.jgroups.util.SocketFactory
-
Packages that use SocketFactory Package Description org.jgroups.blocks.cs org.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.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, int recv_buf_size)NioBaseServer(ThreadFactory f, SocketFactory sf, int recv_buf_size)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, int recv_buf_size)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, int recv_buf_size, java.lang.String service_name)Creates an instance ofNioServerthat opens a server channel and listens for connections.TcpBaseServer(ThreadFactory f, SocketFactory sf, int recv_buf_size)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, int recv_buf_size)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, int recv_buf_size, java.lang.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 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_factoryprotected SocketFactoryRouterStub. socket_factoryprotected SocketFactoryRouterStubManager. 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 protected BaseServerRouterStub. createClient(SocketFactory sf)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(Log log, SocketFactory socket_factory, ThreadFactory thread_factory)RouterStub(java.net.InetSocketAddress local_sa, java.net.InetSocketAddress remote_sa, boolean use_nio, RouterStub.CloseListener l, SocketFactory sf)RouterStub(java.net.InetSocketAddress local_sa, java.net.InetSocketAddress remote_sa, boolean use_nio, RouterStub.CloseListener l, SocketFactory sf, int linger)RouterStub(java.net.InetSocketAddress local_sa, java.net.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 SocketFactory Modifier and Type Class Description classDefaultSocketFactoryDefault implementation, ignores service namesMethods in org.jgroups.util that return SocketFactory Modifier and Type Method Description SocketFactoryTLS. createSocketFactory()SocketFactoryTLS. createSocketFactory(javax.net.ssl.SSLContext context)Methods 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, int end_port, int recv_buf_size)static java.nio.channels.ServerSocketChannelUtil. createServerSocketChannel(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port, int recv_buf_size)
-