| Modifier and Type | Field and Description |
|---|---|
| private final SshdSocketAddress | |
| private final SshdSocketAddress | |
| private final SshdSocketAddress |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static LocalForwardingEntry | |
| public static LocalForwardingEntry | Returns: The first entry whose local or bound address matches the host name - case insensitive and has a matching bound port -null if no match foundThe host - ignored if host, boolean null/empty and not wildcard address match - i.e., no match
reportedIs host the wildcard address - in which case, we try an exact match first for the host,
and if that fails then only the port is matched anyLocalAddress, int The port - ignored if non-positive - i.e., no match reported port, Collection<? extends LocalForwardingEntry> entries)
|
| public SshdSocketAddress | |
| public SshdSocketAddress | Returns: Combined resultA combined address using the following logic:
|
| public SshdSocketAddress | |
| public int | |
| public static SshdSocketAddress | |
| public String |
| bound | back to summary |
|---|---|
| private final SshdSocketAddress bound | |
| combined | back to summary |
|---|---|
| private final SshdSocketAddress combined | |
| local | back to summary |
|---|---|
| private final SshdSocketAddress local | |
| LocalForwardingEntry | back to summary |
|---|---|
| public LocalForwardingEntry(SshdSocketAddress local, InetSocketAddress bound) | |
| LocalForwardingEntry | back to summary |
|---|---|
| public LocalForwardingEntry(SshdSocketAddress local, SshdSocketAddress bound) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findMatchingEntry | back to summary |
|---|---|
| public static LocalForwardingEntry findMatchingEntry(String host, int port, Collection<? extends LocalForwardingEntry> entries) | |
| findMatchingEntry | back to summary |
|---|---|
public static LocalForwardingEntry findMatchingEntry(String host, boolean anyLocalAddress, int port, Collection<? extends LocalForwardingEntry> entries)
| |
| getBoundAddress | back to summary |
|---|---|
public SshdSocketAddress getBoundAddress()
| |
| getCombinedBoundAddress | back to summary |
|---|---|
| public SshdSocketAddress getCombinedBoundAddress() A combined address using the following logic:
| |
| getLocalAddress | back to summary |
|---|---|
public SshdSocketAddress getLocalAddress()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| resolveCombinedBoundAddress | back to summary |
|---|---|
| public static SshdSocketAddress resolveCombinedBoundAddress(SshdSocketAddress local, SshdSocketAddress bound) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |