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 SocketFactory
Channel. getSocketFactory()
Deprecated.Methods in org.jgroups with parameters of type SocketFactory Modifier and Type Method Description void
Channel. 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 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)
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 ofNioServer
that 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 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
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 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(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 class
DefaultSocketFactory
Default implementation, ignores service namesMethods 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)
static java.net.ServerSocket
Util. createServerSocket(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port)
static java.net.ServerSocket
Util. 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.ServerSocketChannel
Util. createServerSocketChannel(SocketFactory factory, java.lang.String service_name, java.net.InetAddress bind_addr, int start_port, int end_port)
-