public class NativePaymentChannelHandlerFactory extends java.lang.Object implements PaymentChannelServerListener.HandlerFactory
| Modifier and Type | Field and Description |
|---|---|
long |
ptr |
| Constructor and Description |
|---|
NativePaymentChannelHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerConnectionEventHandler |
onNewConnection(java.net.SocketAddress clientAddress)
Called when a new connection completes version handshake to get a new connection-specific listener.
|
@Nullable public ServerConnectionEventHandler onNewConnection(java.net.SocketAddress clientAddress)
PaymentChannelServerListener.HandlerFactoryonNewConnection in interface PaymentChannelServerListener.HandlerFactory