Package org.bitcoinj.net
Interface StreamConnectionFactory
public interface StreamConnectionFactory
A factory which generates new
StreamConnection
s when a new connection is opened.-
Method Summary
Modifier and TypeMethodDescriptiongetNewConnection
(InetAddress inetAddress, int port) Returns a new handler or null to have the connection close.
-
Method Details
-
getNewConnection
Returns a new handler or null to have the connection close.- Parameters:
inetAddress
- The client's (IP) addressport
- The remote port on the client side
-