SshSocketTransport class
- Implemented types
Constructors
- SshSocketTransport({SshBannerExchange bannerExchange = const SshBannerExchange(), SshPacketCodec packetCodec = const SshPacketCodec(), bool tcpNoDelay = true})
Properties
-
final
- handshake → SshHandshakeInfo?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnected → bool
-
no setter
- packetCodec → SshPacketCodec
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket → Socket?
-
no setter
- state → SshTransportState
-
no setteroverride
- tcpNoDelay → bool
-
final
- transportStream → SshTransportStream?
-
no setter
Methods
-
connect(
{required SshEndpoint endpoint, required SshTransportSettings settings}) → Future< SshHandshakeInfo> -
override
-
disconnect(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readPacket(
) → Future< SshBinaryPacket> -
override
-
sendGlobalRequest(
SshGlobalRequest request) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeBytes(
List< int> bytes) → Future<void> -
override
-
writePacket(
List< int> payload) → Future<void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited