com.google.bitcoin.net
Interface StreamParserFactory


public interface StreamParserFactory

A factory which generates new StreamParsers when a new connection is opened.


Method Summary
 StreamParser getNewParser(InetAddress inetAddress, int port)
          Returns a new handler or null to have the connection close.
 

Method Detail

getNewParser

@Nullable
StreamParser getNewParser(InetAddress inetAddress,
                                   int port)
Returns a new handler or null to have the connection close.

Parameters:
inetAddress - The client's (IP) address
port - The remote port on the client side


Copyright © 2014. All rights reserved.