Class NettyAwareChannelSubsystem
- java.lang.Object
-
- org.opendaylight.netconf.shaded.sshd.common.util.logging.AbstractLoggingBean
-
- org.opendaylight.netconf.shaded.sshd.common.util.closeable.IoBaseCloseable
-
- org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractCloseable
-
- org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractInnerCloseable
-
- org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel
-
- org.opendaylight.netconf.shaded.sshd.client.channel.AbstractClientChannel
-
- org.opendaylight.netconf.shaded.sshd.client.channel.ChannelSession
-
- org.opendaylight.netconf.shaded.sshd.client.channel.ChannelSubsystem
-
- org.opendaylight.netconf.nettyutil.handler.ssh.client.NettyAwareChannelSubsystem
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,org.opendaylight.netconf.shaded.sshd.client.channel.ClientChannel,org.opendaylight.netconf.shaded.sshd.client.session.ClientSessionHolder,org.opendaylight.netconf.shaded.sshd.common.AttributeRepository,org.opendaylight.netconf.shaded.sshd.common.AttributeStore,org.opendaylight.netconf.shaded.sshd.common.channel.Channel,org.opendaylight.netconf.shaded.sshd.common.channel.ChannelListenerManager,org.opendaylight.netconf.shaded.sshd.common.channel.StreamingChannel,org.opendaylight.netconf.shaded.sshd.common.channel.throttle.ChannelStreamWriterResolver,org.opendaylight.netconf.shaded.sshd.common.channel.throttle.ChannelStreamWriterResolverManager,org.opendaylight.netconf.shaded.sshd.common.Closeable,org.opendaylight.netconf.shaded.sshd.common.PropertyResolver,org.opendaylight.netconf.shaded.sshd.common.session.SessionContextHolder,org.opendaylight.netconf.shaded.sshd.common.session.SessionHolder<org.opendaylight.netconf.shaded.sshd.common.session.Session>,org.opendaylight.netconf.shaded.sshd.common.util.threads.ExecutorServiceCarrier
@Beta public class NettyAwareChannelSubsystem extends org.opendaylight.netconf.shaded.sshd.client.channel.ChannelSubsystemAChannelSubsystemfor subsystem which routes incoming data to a particularChannelHandlerContext.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel
org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel.GracefulChannelCloseable, org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel.GracefulState
-
Nested classes/interfaces inherited from class org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractCloseable
org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractCloseable.State
-
Nested classes/interfaces inherited from interface org.opendaylight.netconf.shaded.sshd.common.AttributeRepository
org.opendaylight.netconf.shaded.sshd.common.AttributeRepository.AttributeKey<T extends Object>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.netconf.shaded.sshd.client.channel.AbstractClientChannel
asyncErr, asyncIn, asyncOut, err, exitSignalHolder, exitStatusHolder, in, invertedErr, invertedIn, invertedOut, opened, openFailureLang, openFailureMsg, openFailureReason, openFuture, out, streaming
-
Fields inherited from class org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel
channelListenerProxy, channelListeners, closeSignaled, eofReceived, eofSent, gracefulFuture, gracefulState, initialized, RESPONSE_BUFFER_GROWTH_FACTOR, service, unregisterSignaled
-
Fields inherited from class org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, state
-
Fields inherited from class org.opendaylight.netconf.shaded.sshd.common.util.logging.AbstractLoggingBean
log
-
Fields inherited from interface org.opendaylight.netconf.shaded.sshd.common.channel.Channel
CHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM
-
-
Constructor Summary
Constructors Constructor Description NettyAwareChannelSubsystem(String subsystem, io.netty.channel.ChannelHandlerContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voiddoWriteData(byte[] data, int off, long len)protected voiddoWriteExtendedData(byte[] data, int off, long len)-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.client.channel.ChannelSubsystem
doOpen, getSubsystem, handleFailure, handleSuccess, onClose, toString
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.client.channel.ChannelSession
closeImmediately0, getInnerCloseable, handleInternalRequest, handleXonXoff, pumpInputStream, securedRead
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.client.channel.AbstractClientChannel
addChannelSignalRequestHandlers, getAsyncErr, getAsyncIn, getAsyncOut, getChannelState, getChannelType, getErr, getExitSignal, getExitStatus, getIn, getInvertedErr, getInvertedIn, getInvertedOut, getOut, getStreaming, handleOpenFailure, handleOpenSuccess, handleWindowAdjust, open, open, setErr, setIn, setOut, setStreaming, updateCurrentChannelState, waitFor
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.channel.AbstractChannel
addChannelListener, addPendingRequest, addRequestHandler, attributeKeys, clearAttributes, computeAttributeIfAbsent, configureWindow, getAttribute, getAttributesCount, getChannelListenerProxy, getChannelStreamWriterResolver, getExecutorService, getId, getLocalWindow, getParentPropertyResolver, getProperties, getRecipient, getRemoteWindow, getRequestHandlers, getSession, handleChannelRegistrationResult, handleChannelRequest, handleChannelUnregistration, handleClose, handleData, handleEof, handleExtendedData, handleRequest, handleUnknownChannelRequest, init, invokeChannelSignaller, isEofSent, isEofSignalled, isInitialized, notifyStateChanged, notifyStateChanged, preClose, removeAttribute, removeChannelListener, removePendingRequest, removeRequestHandler, resolveChannelStreamWriterResolver, sendEof, sendResponse, sendWindowAdjust, setAttribute, setChannelStreamWriterResolver, setRecipient, signalChannelClosed, signalChannelClosed, signalChannelInitialized, signalChannelInitialized, signalChannelOpenFailure, signalChannelOpenFailure, signalChannelOpenSuccess, signalChannelOpenSuccess, validateIncomingDataSize, writePacket
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractInnerCloseable
doCloseGracefully, doCloseImmediately
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, removeCloseFutureListener
-
Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.AttributeRepository
attributeKeys, getAttribute, getAttributesCount
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.AttributeStore
clearAttributes, computeAttributeIfAbsent, removeAttribute, setAttribute
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.channel.Channel
addRequestHandler, addRequestHandlers, getId, getLocalWindow, getRecipient, getRemoteWindow, getRequestHandlers, handleChannelRegistrationResult, handleChannelUnregistration, handleClose, handleData, handleEof, handleExtendedData, handleRequest, init, isEofSignalled, isInitialized, removeRequestHandler, removeRequestHandlers, resolveAttribute, writePacket
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.channel.ChannelListenerManager
addChannelListener, getChannelListenerProxy, removeChannelListener
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.channel.throttle.ChannelStreamWriterResolverManager
getChannelStreamWriterResolver, resolveChannelStreamWriter, resolveChannelStreamWriterResolver, setChannelStreamWriterResolver
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.client.channel.ClientChannel
getClientSession, waitFor
-
Methods inherited from interface org.opendaylight.netconf.shaded.sshd.common.Closeable
addCloseFutureListener, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
-
-
-
Constructor Detail
-
NettyAwareChannelSubsystem
public NettyAwareChannelSubsystem(String subsystem, io.netty.channel.ChannelHandlerContext ctx)
-
-
Method Detail
-
doWriteData
protected void doWriteData(byte[] data, int off, long len) throws IOException- Overrides:
doWriteDatain classorg.opendaylight.netconf.shaded.sshd.client.channel.AbstractClientChannel- Throws:
IOException
-
doWriteExtendedData
protected void doWriteExtendedData(byte[] data, int off, long len) throws IOException- Overrides:
doWriteExtendedDatain classorg.opendaylight.netconf.shaded.sshd.client.channel.AbstractClientChannel- Throws:
IOException
-
close
public void close()
-
-