SSHChannelController class

Constructors

SSHChannelController.new({required int localId, required int localMaximumPacketSize, required int localInitialWindowSize, required int remoteId, required int remoteInitialWindowSize, required int remoteMaximumPacketSize, required void sendMessage(SSHMessage), SSHPrintHandler? printDebug})

Properties

channel SSHChannel
no setter
hashCode int
The hash code for this object.
no setterinherited
localId int
final
localInitialWindowSize int
final
localMaximumPacketSize int
final
printDebug SSHPrintHandler?
final
remoteId int
final
remoteInitialWindowSize int
final
remoteMaximumPacketSize int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendMessage → void Function(SSHMessage)
final

Methods

close() Future<void>
Closes our side of the channel. Returns a Future that completes when the remote side has closed the channel.
destroy() → void
Closes the channel immediately in both directions. This may send a close message to the remote side. After this no more data can be sent or received.
handleMessage(SSHMessage message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEnv(String name, String value) → void
sendExec(String command) Future<bool>
sendPtyReq({String terminalType = 'xterm-256color', int terminalWidth = 80, int terminalHeight = 25, int terminalPixelWidth = 0, int terminalPixelHeight = 0, Uint8List? terminalModes}) Future<bool>
sendShell() Future<bool>
sendSignal(String signal) → void
sendSubsystem(String subsystem) Future<bool>
sendTerminalWindowChange({required int width, required int height, required int pixelWidth, required int pixelHeight}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited