public class SshClient extends AbstractEndpoint implements Producer, ReplyConsumer
| Modifier | Constructor and Description |
|---|---|
|
SshClient()
Default constructor initializing endpoint configuration.
|
protected |
SshClient(SshEndpointConfiguration endpointConfiguration)
Default constructor using endpoint configuration.
|
| Modifier and Type | Method and Description |
|---|---|
SelectiveConsumer |
createConsumer() |
Producer |
createProducer() |
SshEndpointConfiguration |
getEndpointConfiguration() |
com.jcraft.jsch.JSch |
getJsch()
Gets the JSch implementation.
|
Message |
receive(String selector,
TestContext context) |
Message |
receive(String selector,
TestContext context,
long timeout) |
Message |
receive(TestContext context) |
Message |
receive(TestContext context,
long timeout) |
void |
send(Message message,
TestContext context)
Send a message as SSH request.
|
void |
setCorrelationManager(CorrelationManager<Message> correlationManager)
Sets the correlation manager.
|
void |
setJsch(com.jcraft.jsch.JSch jsch)
Sets the JSch implementation.
|
getActor, getConsumerName, getName, getProducerName, setActor, setBeanName, setNamepublic SshClient()
protected SshClient(SshEndpointConfiguration endpointConfiguration)
endpointConfiguration - public SshEndpointConfiguration getEndpointConfiguration()
getEndpointConfiguration in interface EndpointgetEndpointConfiguration in class AbstractEndpointpublic void send(Message message, TestContext context)
SshServer.public Message receive(TestContext context)
public Message receive(String selector, TestContext context)
receive in interface SelectiveConsumerpublic Message receive(TestContext context, long timeout)
public Message receive(String selector, TestContext context, long timeout)
receive in interface SelectiveConsumerpublic Producer createProducer()
createProducer in interface Endpointpublic SelectiveConsumer createConsumer()
createConsumer in interface Endpointpublic com.jcraft.jsch.JSch getJsch()
public void setJsch(com.jcraft.jsch.JSch jsch)
jsch - public void setCorrelationManager(CorrelationManager<Message> correlationManager)
correlationManager - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.