Class WelcomeMessage

    • Field Detail

      • defaultUserAgentGenerator

        public static final Supplier<String> defaultUserAgentGenerator
      • userAgentGenerator

        public static Supplier<String> userAgentGenerator
    • Constructor Detail

      • WelcomeMessage

        public WelcomeMessage​(PeerInformation peerInformation,
                              MessageId correspondingId)
        Creates new welcome message.
        Parameters:
        peerInformation - the peer information of the node server
        correspondingId - the corresponding id of the previous join message