single_hand_shake_protocol_monorepo library

Classes

IHandshake
IHandshakeIP
IHandshakeOwnership
IHandshakeTime
IShspInstance
Interface for SHSP Instance Extends IShspPeer with handshake and connection state management
IShspInstanceHandler
IShspPeer
Interface for SHSP Peer
IShspSocket
Interface for SHSP Socket

Typedefs

CallbackOn = CallbackHandler<void, void>
CallbackOnError = CallbackHandler<dynamic, void>
InstanceCallback = void Function(IShspInstance instance)
Opts = ({InstanceCallback? instanceCallback})

Exceptions / Errors

IShspException
Base interface for all SHSP exceptions
ShspConfigurationException
Exception thrown when a configuration error occurs
ShspHandshakeException
Exception thrown when a handshake operation fails
ShspInstanceException
Exception thrown when an instance operation fails
ShspNetworkException
Exception thrown when a network-level error occurs
ShspProtocolException
Exception thrown when a protocol-level error occurs
ShspValidationException
Exception thrown when input validation fails