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 SocketFactory
BaseServer. socket_factory
Methods in org.jgroups.blocks.cs that return SocketFactory Modifier and Type Method Description SocketFactory
BaseServer. socketFactory()
Methods in org.jgroups.blocks.cs with parameters of type SocketFactory Modifier and Type Method Description BaseServer
BaseServer. 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 ofNioServer
that 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 ofTcpServer
that 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 SocketFactory
TP. socket_factory
Methods in org.jgroups.protocols that return SocketFactory Modifier and Type Method Description SocketFactory
TP. getSocketFactory()
Methods in org.jgroups.protocols with parameters of type SocketFactory Modifier and Type Method Description void
TCP. setSocketFactory(SocketFactory factory)
void
TP. setSocketFactory(SocketFactory factory)
-
Uses of SocketFactory in org.jgroups.stack
Fields in org.jgroups.stack declared as SocketFactory Modifier and Type Field Description protected SocketFactory
DiagnosticsHandler. socket_factory
protected SocketFactory
GossipRouter. socket_factory
protected SocketFactory
RouterStub. socket_factory
protected SocketFactory
RouterStubManager. socket_factory
Methods in org.jgroups.stack that return SocketFactory Modifier and Type Method Description SocketFactory
Protocol. getSocketFactory()
Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call downSocketFactory
GossipRouter. socketFactory()
Methods in org.jgroups.stack with parameters of type SocketFactory Modifier and Type Method Description protected BaseServer
RouterStub. createClient(SocketFactory sf)
void
Protocol. setSocketFactory(SocketFactory factory)
Sets a SocketFactory.GossipRouter
GossipRouter. socketFactory(SocketFactory sf)
RouterStubManager
RouterStubManager. 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 class
DefaultSocketFactory
Default implementation, ignores service namesMethods in org.jgroups.util that return SocketFactory Modifier and Type Method Description SocketFactory
TLS. createSocketFactory()
SocketFactory
TLS. createSocketFactory(javax.net.ssl.SSLContext context)
Methods in org.jgroups.util with parameters of type SocketFactory Modifier and Type Method Description static java.net.DatagramSocket
Util. createDatagramSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress addr, int port)
Creates a DatagramSocket bound to addr.static java.net.MulticastSocket
Util. createMulticastSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress mcast_addr, int port, Log log)
static java.net.ServerSocket
Util. 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.ServerSocketChannel
Util. createServerSocketChannel(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port, int recv_buf_size)
-