public interface PortForwardable<H,L,I,O>
Modifier and Type | Method and Description |
---|---|
L |
portForward(int port)
Create a server socket on a random local port.
|
L |
portForward(int port,
int localPort)
Create a server socket on a specified local port.
|
H |
portForward(int port,
I in,
O out)
Connects directly the remote port to the given input and output channels.
|
H portForward(int port, I in, O out)
L portForward(int port, int localPort)
L portForward(int port)
Copyright © 2015–2019 Red Hat. All rights reserved.