## Uses of Interface
org.jgroups.util.SocketFactory

Packages that use SocketFactory
org.jgroups: Provides top-level public JGroups classes such as Channel, Message, etc.
org.jgroups.blocks: Provides building blocks that are layered on top of channels.
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

Fields in org.jgroups declared as SocketFactory
`protected SocketFactory` `Channel.socket_factory`

Methods in org.jgroups that return SocketFactory
`SocketFactory` `Channel.getSocketFactory()`

Methods in org.jgroups with parameters of type SocketFactory
`void` `Channel.setSocketFactory(SocketFactory factory)`

Uses of SocketFactory in org.jgroups.blocks

Fields in org.jgroups.blocks declared as SocketFactory
`protected SocketFactory` `TCPConnectionMap.socket_factory`
`protected SocketFactory` `BasicConnectionTable.socket_factory`

Methods in org.jgroups.blocks that return SocketFactory
`SocketFactory` `TCPConnectionMap.getSocketFactory()`
`SocketFactory` `BasicConnectionTable.getSocketFactory()`

Methods in org.jgroups.blocks with parameters of type SocketFactory
`void` `TCPConnectionMap.setSocketFactory(SocketFactory socket_factory)`
`void` `BasicConnectionTable.setSocketFactory(SocketFactory socket_factory)`

Constructors in org.jgroups.blocks with parameters of type SocketFactory
`TCPConnectionMap(java.lang.String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, java.net.InetAddress bind_addr, java.net.InetAddress external_addr, int srv_port, int max_port)`
`TCPConnectionMap(java.lang.String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, java.net.InetAddress bind_addr, java.net.InetAddress external_addr, int srv_port, int max_port, long reaper_interval, long conn_expire_time)`

Uses of SocketFactory in org.jgroups.protocols

Fields in org.jgroups.protocols declared as SocketFactory
`protected SocketFactory` `TP.socket_factory`
`protected SocketFactory` `TP.ProtocolAdapter.socket_factory`

Methods in org.jgroups.protocols that return SocketFactory
`SocketFactory` `TP.getSocketFactory()`
`SocketFactory` `TP.ProtocolAdapter.getSocketFactory()`

Methods in org.jgroups.protocols with parameters of type SocketFactory
`void` `TCP.setSocketFactory(SocketFactory factory)`
`void` `TP.setSocketFactory(SocketFactory factory)`
`void` `TP.ProtocolAdapter.setSocketFactory(SocketFactory factory)`

Uses of SocketFactory in org.jgroups.stack

Methods in org.jgroups.stack that return SocketFactory
`SocketFactory` `Protocol.getSocketFactory()` Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call down

Methods in org.jgroups.stack with parameters of type SocketFactory
`void` `Protocol.setSocketFactory(SocketFactory factory)` Sets a SocketFactory.

Uses of SocketFactory in org.jgroups.util

Classes in org.jgroups.util that implement SocketFactory
`class` `DefaultSocketFactory` Default implementation, ignores service names

Methods in org.jgroups.util with parameters of type SocketFactory
`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)` Finds first available port starting at start_port and returns server socket.
`static java.net.ServerSocket` `Util.createServerSocket(SocketFactory factory, java.lang.String service_name, int start_port)` Finds first available port starting at start_port and returns server socket

Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.