public class TunnelTransportFactory<P extends Packet<?>> extends java.lang.Object implements TransportLayerFactory<P>
| Constructor and Description |
|---|
TunnelTransportFactory(TransportLayerFactory<P> tunnelFactory,
java.lang.String tunnelHost,
int tunnelPort) |
| Modifier and Type | Method and Description |
|---|---|
TransportLayer<P> |
createTransportLayer(PacketHandlers<P> handlers,
SmbConfig config) |
public TunnelTransportFactory(TransportLayerFactory<P> tunnelFactory, java.lang.String tunnelHost, int tunnelPort)
public TransportLayer<P> createTransportLayer(PacketHandlers<P> handlers, SmbConfig config)
createTransportLayer in interface TransportLayerFactory<P extends Packet<?>>