Inheritance: OpenStory.Common.IO.HandshakeInfo
Exemple #1
0
        private void StartSession(IServerSession session)
        {
            var clientIv = this.ivGenerator.GetNewIv();
            var serverIv = this.ivGenerator.GetNewIv();

            var info = new ConfiguredHandshakeInfo(this.serverConfiguration, clientIv, serverIv);
            var crypto = EndpointCrypto.Server(this.ivFactory, clientIv, serverIv);
            session.Start(crypto, info);
        }