Top Fields Constructors Methods
org.apache.sshd.agent.local

public Class AgentForwardedChannel

extends AbstractClientChannel
Class Inheritance
Imports
java.io.IOException, .InterruptedIOException, .OutputStream, java.util.Queue, java.util.concurrent.ArrayBlockingQueue, .TimeUnit, java.util.concurrent.atomic.AtomicBoolean, org.apache.sshd.agent.SshAgent, org.apache.sshd.agent.common.AbstractAgentProxy, org.apache.sshd.client.channel.AbstractClientChannel, org.apache.sshd.common.PropertyResolverUtils, .SshConstants, .SshException, org.apache.sshd.common.channel.ChannelOutputStream, .LocalWindow, org.apache.sshd.common.session.Session, org.apache.sshd.common.util.ValidateUtils, org.apache.sshd.common.util.buffer.Buffer, .ByteArrayBuffer, org.apache.sshd.core.CoreModuleProperties

Field Summary

Modifier and TypeField and Description
public static final long
DEFAULT_MESSAGE_POLL_FREQUENCY

Default value for agent-fwd-channel-message-poll-time

public static final String
MESSAGE_POLL_FREQUENCY

Time to wait for new incoming messages before checking if the channel is still active

private final Queue<Buffer>
private final Buffer
Inherited from org.apache.sshd.client.channel.AbstractClientChannel:
asyncErrasyncInasyncOuterrexitSignalHolderexitStatusHolderininvertedErrinvertedIninvertedOutopenedopenFailureLangopenFailureMsgopenFailureReasonopenFutureoutredirectErrorStreamstreaming

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
public SshAgent
protected Buffer
request(Buffer buffer)

protected Buffer
Inherited from org.apache.sshd.client.channel.AbstractClientChannel:
addChannelSignalRequestHandlersdoWriteExtendedDatagetAsyncErrgetAsyncIngetAsyncOutgetChannelStategetChannelTypegetErrgetExitSignalgetExitStatusgetIngetInnerCloseablegetInvertedErrgetInvertedIngetInvertedOutgetOutgetStreaminghandleOpenFailurehandleOpenSuccesshandleWindowAdjustisRedirectErrorStreammayWriteopenopensetErrsetInsetOutsetRedirectErrorStreamsetStreamingupdateCurrentChannelStatewaitFor

Field Detail

DEFAULT_MESSAGE_POLL_FREQUENCYback to summary
public static final long DEFAULT_MESSAGE_POLL_FREQUENCY

Default value for agent-fwd-channel-message-poll-time

MESSAGE_POLL_FREQUENCYback to summary
public static final String MESSAGE_POLL_FREQUENCY

Time to wait for new incoming messages before checking if the channel is still active

messagesback to summary
private final Queue<Buffer> messages
receiveBufferback to summary
private final Buffer receiveBuffer

Constructor Detail

AgentForwardedChannelback to summary
public AgentForwardedChannel(String channelType)

Method Detail

doOpenback to summary
protected void doOpen() throws IOException

Implements abstract org.apache.sshd.client.channel.AbstractClientChannel.doOpen.

Annotations
@Override
doWriteDataback to summary
protected void doWriteData(byte[] data, int off, long len) throws IOException

Overrides org.apache.sshd.client.channel.AbstractClientChannel.doWriteData.

Annotations
@Override
getAgentback to summary
public SshAgent getAgent()
requestback to summary
protected Buffer request(Buffer buffer) throws IOException
waitForMessageBufferback to summary
protected Buffer waitForMessageBuffer() throws IOException