| net.schmizz.sshj.connection.channel.Channel.Forwarded |
Known Indirect Subclasses
|
Class Overview
Forwarded channels are those that are initiated by the server.
Public Methods
public
abstract
void
confirm
()
Confirm CHANNEL_OPEN request.
public
abstract
String
getOriginatorIP
()
Returns
- the IP of where the forwarded connection originates.
public
abstract
int
getOriginatorPort
()
Returns
- port from which the forwarded connection originates.
public
abstract
void
reject
(OpenFailException.Reason reason, String message)
Indicate rejection to remote end.
Parameters
| reason
| Indicate reason for rejection of the request |
| message
| Indicate a message for why the request is rejected |