single_hand_shake_protocol_monorepo
library
Classes
-
AddressUtility
-
Utility functions for address formatting
-
CallbackMap<T>
-
Generic callback map for managing callbacks by string keys
Similar to TypeScript's CallbackMap
-
ConcatUtility
-
Utility functions for concatenating data
-
HandshakeIP
-
-
HandshakeOwnership
-
-
HandshakeTime
-
-
MessageCallbackMap
-
A specialized callback map for handling messages from remote endpoints
Supports both IPv4 and IPv6 addresses
Key format:
-
RawShspSocket
-
Hoping that in a future RawDatagramSocket (or similar) will become a real class
-
Shsp
-
Implementation of IShsp interface
Manages SHSP peer with signal and socket
-
ShspInstance
-
SHSP Instance implementation
Handles protocol messages (handshake, closing, closed, keep-alive)
-
ShspPeer
-
SHSP Peer implementation
-
ShspSocket
-
SHSP Socket implementation wrapping RawDatagramSocket