public static class IPortForwardable.PortPair extends Object
Constructor and Description |
---|
PortPair(int localPort,
IPort remotePort)
Forward traffic on the local port to the remote port.
|
PortPair(IPort remotePort)
Forward traffic to/from the specified port
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getLocalPort() |
String |
getName() |
int |
getRemotePort() |
int |
hashCode() |
void |
setLocalPort(int port) |
public PortPair(IPort remotePort)
remotePort
- public PortPair(int localPort, IPort remotePort)
localPort
- remotePort
- public int getLocalPort()
public void setLocalPort(int port)
public int getRemotePort()
public String getName()
Copyright © 2016 Red Hat, Inc. All rights reserved.