public class LocalForwardingEntry extends SshdSocketAddress
LOCALHOST_ADDRESS| Constructor and Description |
|---|
LocalForwardingEntry(String hostName,
String alias,
int port) |
| Modifier and Type | Method and Description |
|---|---|
static LocalForwardingEntry |
findMatchingEntry(String host,
int port,
Collection<? extends LocalForwardingEntry> entries) |
String |
getAlias() |
int |
hashCode() |
protected boolean |
isEquivalent(SshdSocketAddress that) |
String |
toString() |
equals, getHostName, getPort, toInetSocketAddresspublic String getAlias()
protected boolean isEquivalent(SshdSocketAddress that)
isEquivalent in class SshdSocketAddresspublic int hashCode()
hashCode in class SshdSocketAddresspublic String toString()
toString in class SshdSocketAddresspublic static final LocalForwardingEntry findMatchingEntry(String host, int port, Collection<? extends LocalForwardingEntry> entries)
host - The host - ignored if null/empty - i.e., no match reportedport - The port - ignored if non-positive - i.e., no match reportedentries - The Collection of LocalForwardingEntry to check
- ignored if null/empty - i.e., no match reportednull if no match foundCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.