public class AddressMapping extends Object
Constructor and Description |
---|
AddressMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addMapping(SocketAddress fromAddress,
SocketAddress toAddress) |
void |
addMapping(String fromHost,
int fromPort,
String toHost,
int toPort) |
SocketAddress |
getMapping(SocketAddress fromAddress) |
String |
toString() |
public void addMapping(SocketAddress fromAddress, SocketAddress toAddress)
public SocketAddress getMapping(SocketAddress fromAddress)
Copyright © 2012–2024 Onix Solutions. All rights reserved.