6e1491fd41
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m17s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m21s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m26s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m43s
linux-x64-gcc / linux-gcc (push) Successful in 1m52s
515 lines
496 KiB
HTML
515 lines
496 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr"
|
|
xmlns:dc="http://purl.org/dc/terms/">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
|
|
<!--meta name="author" content="Fill in" /-->
|
|
<title>HTML Diff timeouts/server.cpp</title>
|
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEXAAAAAgAD///+K/HwIAAAAJUlEQVQI12NYBQQM2IgGBQ4mCIEQW7oyK4phampkGIQAc1G1AQCRxCNbyW92oQAAAABJRU5ErkJggg==" type="image/png" />
|
|
<meta property="dc:language" content="en" />
|
|
<!--meta property="dc:date" content="" /-->
|
|
<meta property="dc:modified" content="2023-04-26T20:13:13.932082+01:00" />
|
|
<meta name="description" content="File comparison" />
|
|
<meta property="dc:abstract" content="File comparison" />
|
|
<style>
|
|
table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
|
|
td.line { color:#8080a0 }
|
|
th { background: black; color: white }
|
|
tr.diffunmodified td { background: #D0D0E0 }
|
|
tr.diffhunk td { background: #A0A0A0 }
|
|
tr.diffadded td { background: #CCFFCC }
|
|
tr.diffdeleted td { background: #FFCCCC }
|
|
tr.diffchanged td { background: #FFFFA0 }
|
|
span.diffchanged2 { background: #E0C880 }
|
|
span.diffponct { color: #B08080 }
|
|
tr.diffmisc td {}
|
|
tr.diffseparator td {}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<table class="diff">
|
|
<tr><th colspan='2'>src/​examples/​cpp03/​timeouts/​server.​cpp</th><th colspan='2'>src/​examples/​cpp11/​timeouts/​server.​cpp</th></tr>
|
|
<tr class="diffhunk"><td colspan="2">⋮</td><td colspan="2">⋮</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/​/​</td><td class="diffline">1 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​server.​cpp</td><td class="diffline">2 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​server.​cpp</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​~~~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​~~~~~~~~~~</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/​/​</td><td class="diffline">4 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Copyright<span class="diffponct">·</span>​(c)​<span class="diffponct">·</span>​2003-​2023<span class="diffponct">·</span>​Christopher<span class="diffponct">·</span>​M.​<span class="diffponct">·</span>​Kohlhoff<span class="diffponct">·</span>​(chris<span class="diffponct">·</span>​at<span class="diffponct">·</span>​kohlhoff<span class="diffponct">·</span>​dot<span class="diffponct">·</span>​com)​</td><td class="diffline">5 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Copyright<span class="diffponct">·</span>​(c)​<span class="diffponct">·</span>​2003-​2023<span class="diffponct">·</span>​Christopher<span class="diffponct">·</span>​M.​<span class="diffponct">·</span>​Kohlhoff<span class="diffponct">·</span>​(chris<span class="diffponct">·</span>​at<span class="diffponct">·</span>​kohlhoff<span class="diffponct">·</span>​dot<span class="diffponct">·</span>​com)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/​/​</td><td class="diffline">6 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Distributed<span class="diffponct">·</span>​under<span class="diffponct">·</span>​the<span class="diffponct">·</span>​Boost<span class="diffponct">·</span>​Software<span class="diffponct">·</span>​License,​<span class="diffponct">·</span>​Version<span class="diffponct">·</span>​1.​0.​<span class="diffponct">·</span>​(See<span class="diffponct">·</span>​accompanying</td><td class="diffline">7 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Distributed<span class="diffponct">·</span>​under<span class="diffponct">·</span>​the<span class="diffponct">·</span>​Boost<span class="diffponct">·</span>​Software<span class="diffponct">·</span>​License,​<span class="diffponct">·</span>​Version<span class="diffponct">·</span>​1.​0.​<span class="diffponct">·</span>​(See<span class="diffponct">·</span>​accompanying</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​file<span class="diffponct">·</span>​LICENSE_1_0.​txt<span class="diffponct">·</span>​or<span class="diffponct">·</span>​copy<span class="diffponct">·</span>​at<span class="diffponct">·</span>​http:​/​/​www.​boost.​org/​LICENSE_1_0.​txt)​</td><td class="diffline">8 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​file<span class="diffponct">·</span>​LICENSE_1_0.​txt<span class="diffponct">·</span>​or<span class="diffponct">·</span>​copy<span class="diffponct">·</span>​at<span class="diffponct">·</span>​http:​/​/​www.​boost.​org/​LICENSE_1_0.​txt)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/​/​</td><td class="diffline">9 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<algorithm></td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<algorithm></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<cstdlib></td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<cstdlib></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<deque></td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<deque></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<iostream></td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<iostream></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<memory></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<set></td><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<set></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<string></td><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<string></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<boost/​bind/​bind.​hpp></td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<boost/​shared_ptr.​hpp></td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">19 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<boost/​enable_shared_from_th​is.​hpp></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​buffer.​hpp"</td><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​buffer.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​io_context.​hpp"</td><td class="diffline">19 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​io_context.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​ip/​tcp.​hpp"</td><td class="diffline">20 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​ip/​tcp.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​ip/​udp.​hpp"</td><td class="diffline">21 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​ip/​udp.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​read_until.​hpp"</td><td class="diffline">22 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​read_until.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​steady_timer.​hpp"</td><td class="diffline">23 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​steady_timer.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​write.​hpp"</td><td class="diffline">24 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"asio/​write.​hpp"</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent"></td><td class="diffline">25 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​steady_timer;​</td><td class="diffline">26 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​steady_timer;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​ip:​:​tcp;​</td><td class="diffline">27 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​ip:​:​tcp;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​ip:​:​udp;​</td><td class="diffline">28 </td><td class="diffpresent">using<span class="diffponct">·</span>​asio:​:​ip:​:​udp;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">31 </td><td class="diffpresent"></td><td class="diffline">29 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">30 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"></td><td class="diffline">31 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent">class<span class="diffponct">·</span>​subscriber</td><td class="diffline">32 </td><td class="diffpresent">class<span class="diffponct">·</span>​subscriber</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent">{</td><td class="diffline">33 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent">public:​</td><td class="diffline">34 </td><td class="diffpresent">public:​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​virtual<span class="diffponct">·</span>​~subscriber()​<span class="diffponct">·</span>​<span class="diffchanged2">{</span><span class="diffchanged2">}</span></td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​virtual<span class="diffponct">·</span>​~subscriber()​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">=</span><span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">f</span><span class="diffchanged2">a</span><span class="diffchanged2">u</span><span class="diffchanged2">l</span><span class="diffchanged2">t</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​virtual<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​<span class="diffponct">·</span>​=<span class="diffponct">·</span>​0;​</td><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​virtual<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​<span class="diffponct">·</span>​=<span class="diffponct">·</span>​0;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent">};​</td><td class="diffline">37 </td><td class="diffpresent">};​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"></td><td class="diffline">38 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">41 </td><td class="diffpresent">typedef<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>st:​:​shared_ptr<subscriber​><span class="diffponct">·</span>​subscriber_ptr;​</td><td class="diffline">39 </td><td class="diffpresent">typedef<span class="diffponct">·</span>​st<span class="diffchanged2">d</span>:​:​shared_ptr<subscriber​><span class="diffponct">·</span>​subscriber_ptr;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent"></td><td class="diffline">40 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">41 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent"></td><td class="diffline">42 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">45 </td><td class="diffpresent">class<span class="diffponct">·</span>​channel</td><td class="diffline">43 </td><td class="diffpresent">class<span class="diffponct">·</span>​channel</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">46 </td><td class="diffpresent">{</td><td class="diffline">44 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent">public:​</td><td class="diffline">45 </td><td class="diffpresent">public:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​join(subscriber_ptr<span class="diffponct">·</span>​subscriber)​</td><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​join(subscriber_ptr<span class="diffponct">·</span>​subscriber)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">47 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">50 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​subscribers_.​insert(subscriber)​;​</td><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​subscribers_.​insert(subscriber)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">49 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent"></td><td class="diffline">50 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​leave(subscriber_ptr<span class="diffponct">·</span>​subscriber)​</td><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​leave(subscriber_ptr<span class="diffponct">·</span>​subscriber)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​subscribers_.​erase(subscriber)​;​</td><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​subscribers_.​erase(subscriber)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">57 </td><td class="diffpresent"></td><td class="diffline">55 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​</td><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>for<span class="diffchanged2">_</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span>c<span class="diffchanged2">h</span><span class="diffchanged2">(</span>s<span class="diffchanged2">u</span><span class="diffchanged2">b</span><span class="diffchanged2">s</span><span class="diffchanged2">c</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span>s<span class="diffchanged2">_​</span><span class="diffchanged2">.​</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">g</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​subscribers_<span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span>)​<span class="diffchanged2">,​</span></td><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​for<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span>s<span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">&</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>s<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">:​</span><span class="diffponct">·</span>​subscribers_)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">61 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span><span class="diffchanged2">s</span><span class="diffchanged2">u</span><span class="diffchanged2">b</span><span class="diffchanged2">s</span><span class="diffchanged2">c</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">,​</span></td><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">62 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>s<span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">h</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span>de<span class="diffchanged2">r</span><span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">_</span><span class="diffchanged2">1</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">r</span>e<span class="diffchanged2">f</span>(msg<span class="diffchanged2">)​</span><span class="diffchanged2">)​</span>)​;​</td><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​s<span class="diffchanged2">-​</span><span class="diffchanged2">></span>de<span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">v</span>e<span class="diffchanged2">r</span>(msg)​;​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">64 </td><td class="diffpresent"></td><td class="diffline">63 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">65 </td><td class="diffpresent">private:​</td><td class="diffline">64 </td><td class="diffpresent">private:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​set<subscriber_ptr><span class="diffponct">·</span>​subscribers_;​</td><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​set<subscriber_ptr><span class="diffponct">·</span>​subscribers_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">67 </td><td class="diffpresent">};​</td><td class="diffline">66 </td><td class="diffpresent">};​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">68 </td><td class="diffpresent"></td><td class="diffline">67 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">69 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">68 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">70 </td><td class="diffpresent"></td><td class="diffline">69 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">71 </td><td class="diffpresent">/​/​</td><td class="diffline">70 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">72 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​This<span class="diffponct">·</span>​class<span class="diffponct">·</span>​manages<span class="diffponct">·</span>​socket<span class="diffponct">·</span>​timeouts<span class="diffponct">·</span>​by<span class="diffponct">·</span>​applying<span class="diffponct">·</span>​the<span class="diffponct">·</span>​concept<span class="diffponct">·</span>​of<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline.​</td><td class="diffline">71 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​This<span class="diffponct">·</span>​class<span class="diffponct">·</span>​manages<span class="diffponct">·</span>​socket<span class="diffponct">·</span>​timeouts<span class="diffponct">·</span>​by<span class="diffponct">·</span>​applying<span class="diffponct">·</span>​the<span class="diffponct">·</span>​concept<span class="diffponct">·</span>​of<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">73 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Some<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operations<span class="diffponct">·</span>​are<span class="diffponct">·</span>​given<span class="diffponct">·</span>​deadlines<span class="diffponct">·</span>​by<span class="diffponct">·</span>​which<span class="diffponct">·</span>​they<span class="diffponct">·</span>​must<span class="diffponct">·</span>​complete.​</td><td class="diffline">72 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Some<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operations<span class="diffponct">·</span>​are<span class="diffponct">·</span>​given<span class="diffponct">·</span>​deadlines<span class="diffponct">·</span>​by<span class="diffponct">·</span>​which<span class="diffponct">·</span>​they<span class="diffponct">·</span>​must<span class="diffponct">·</span>​complete.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">74 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Deadlines<span class="diffponct">·</span>​are<span class="diffponct">·</span>​enforced<span class="diffponct">·</span>​by<span class="diffponct">·</span>​two<span class="diffponct">·</span>​"actors"<span class="diffponct">·</span>​that<span class="diffponct">·</span>​persist<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​lifetime<span class="diffponct">·</span>​of<span class="diffponct">·</span>​the</td><td class="diffline">73 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Deadlines<span class="diffponct">·</span>​are<span class="diffponct">·</span>​enforced<span class="diffponct">·</span>​by<span class="diffponct">·</span>​two<span class="diffponct">·</span>​"actors"<span class="diffponct">·</span>​that<span class="diffponct">·</span>​persist<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​lifetime<span class="diffponct">·</span>​of<span class="diffponct">·</span>​the</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">75 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​session<span class="diffponct">·</span>​object,​<span class="diffponct">·</span>​one<span class="diffponct">·</span>​for<span class="diffponct">·</span>​input<span class="diffponct">·</span>​and<span class="diffponct">·</span>​one<span class="diffponct">·</span>​for<span class="diffponct">·</span>​output:​</td><td class="diffline">74 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​session<span class="diffponct">·</span>​object,​<span class="diffponct">·</span>​one<span class="diffponct">·</span>​for<span class="diffponct">·</span>​input<span class="diffponct">·</span>​and<span class="diffponct">·</span>​one<span class="diffponct">·</span>​for<span class="diffponct">·</span>​output:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">76 </td><td class="diffpresent">/​/​</td><td class="diffline">75 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">77 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">76 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">78 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">77 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">79 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|<-​-​-​<span class="diffchanged2">+</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|<-​-​-​+</td><td class="diffline">78 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|<<span class="diffchanged2">-​</span>-​-​-​<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|<<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">80 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span></td><td class="diffline">79 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">81 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span></td><td class="diffline">80 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">82 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span></td><td class="diffline">81 </td><td class="diffpresent">/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">83 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">+</span>-​-​-​-​-​-​-​-​-​+</td><td class="diffline">82 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">+</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">83 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​on<span class="diffponct">·</span>​input<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​lambda<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​on<span class="diffponct">·</span>​output<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​lambda<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">84 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​>|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​in<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​>|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​in<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">85 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​check_deadline<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">86 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">84 </td><td class="diffpresent">/​/​</td><td class="diffline">87 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">85 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​either<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​determines<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​corresponding<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has</td><td class="diffline">88 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​either<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​determines<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​corresponding<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">86 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​expired,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​socket<span class="diffponct">·</span>​is<span class="diffponct">·</span>​closed<span class="diffponct">·</span>​and<span class="diffponct">·</span>​any<span class="diffponct">·</span>​outstanding<span class="diffponct">·</span>​operations<span class="diffponct">·</span>​are<span class="diffponct">·</span>​cancelled.​</td><td class="diffline">89 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​expired,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​socket<span class="diffponct">·</span>​is<span class="diffponct">·</span>​closed<span class="diffponct">·</span>​and<span class="diffponct">·</span>​any<span class="diffponct">·</span>​outstanding<span class="diffponct">·</span>​operations<span class="diffponct">·</span>​are<span class="diffponct">·</span>​cancelled.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">87 </td><td class="diffpresent">/​/​</td><td class="diffline">90 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">88 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​input<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​reads<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​from<span class="diffponct">·</span>​the<span class="diffponct">·</span>​socket,​<span class="diffponct">·</span>​where<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​are<span class="diffponct">·</span>​delimited</td><td class="diffline">91 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​input<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​reads<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​from<span class="diffponct">·</span>​the<span class="diffponct">·</span>​socket,​<span class="diffponct">·</span>​where<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​are<span class="diffponct">·</span>​delimited</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">89 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​by<span class="diffponct">·</span>​the<span class="diffponct">·</span>​newline<span class="diffponct">·</span>​character:​</td><td class="diffline">92 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​by<span class="diffponct">·</span>​the<span class="diffponct">·</span>​newline<span class="diffponct">·</span>​character:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">90 </td><td class="diffpresent">/​/​</td><td class="diffline">93 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">91 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">94 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">92 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">95 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">93 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span>a<span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​|<-​-​-​+</td><td class="diffline">96 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span>a<span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​|<<span class="diffchanged2">-​</span>-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">94 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">97 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">95 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">98 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">96 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">99 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">97 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​async_-​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">100 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​async_-​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">98 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​read_-​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">101 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​read_-​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">m</span><span class="diffchanged2">b</span><span class="diffchanged2">d</span><span class="diffchanged2">a</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">99 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​until()​<span class="diffponct">·</span>​+-​-​-​>|<span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​|</td><td class="diffline">102 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​until()​<span class="diffponct">·</span>​+-​-​-​>|<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">100 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">103 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">101 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">104 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">102 </td><td class="diffpresent">/​/​</td><td class="diffline">105 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">103 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​receiving<span class="diffponct">·</span>​a<span class="diffponct">·</span>​complete<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​30<span class="diffponct">·</span>​seconds.​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​a<span class="diffponct">·</span>​non-​empty</td><td class="diffline">106 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​receiving<span class="diffponct">·</span>​a<span class="diffponct">·</span>​complete<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​30<span class="diffponct">·</span>​seconds.​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​a<span class="diffponct">·</span>​non-​empty</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">104 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​received,​<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​delivered<span class="diffponct">·</span>​to<span class="diffponct">·</span>​all<span class="diffponct">·</span>​subscribers.​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​a<span class="diffponct">·</span>​heartbeat<span class="diffponct">·</span>​(a</td><td class="diffline">107 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​received,​<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​delivered<span class="diffponct">·</span>​to<span class="diffponct">·</span>​all<span class="diffponct">·</span>​subscribers.​<span class="diffponct">·</span>​If<span class="diffponct">·</span>​a<span class="diffponct">·</span>​heartbeat<span class="diffponct">·</span>​(a</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">105 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​message<span class="diffponct">·</span>​that<span class="diffponct">·</span>​consists<span class="diffponct">·</span>​of<span class="diffponct">·</span>​a<span class="diffponct">·</span>​single<span class="diffponct">·</span>​newline<span class="diffponct">·</span>​character)​<span class="diffponct">·</span>​is<span class="diffponct">·</span>​received,​<span class="diffponct">·</span>​a<span class="diffponct">·</span>​heartbeat</td><td class="diffline">108 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​message<span class="diffponct">·</span>​that<span class="diffponct">·</span>​consists<span class="diffponct">·</span>​of<span class="diffponct">·</span>​a<span class="diffponct">·</span>​single<span class="diffponct">·</span>​newline<span class="diffponct">·</span>​character)​<span class="diffponct">·</span>​is<span class="diffponct">·</span>​received,​<span class="diffponct">·</span>​a<span class="diffponct">·</span>​heartbeat</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">106 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​is<span class="diffponct">·</span>​enqueued<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client,​<span class="diffponct">·</span>​provided<span class="diffponct">·</span>​there<span class="diffponct">·</span>​are<span class="diffponct">·</span>​no<span class="diffponct">·</span>​other<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​to</td><td class="diffline">109 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​is<span class="diffponct">·</span>​enqueued<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client,​<span class="diffponct">·</span>​provided<span class="diffponct">·</span>​there<span class="diffponct">·</span>​are<span class="diffponct">·</span>​no<span class="diffponct">·</span>​other<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​to</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">107 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​be<span class="diffponct">·</span>​sent.​</td><td class="diffline">110 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​be<span class="diffponct">·</span>​sent.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">108 </td><td class="diffpresent">/​/​</td><td class="diffline">111 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">109 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​is<span class="diffponct">·</span>​responsible<span class="diffponct">·</span>​for<span class="diffponct">·</span>​sending<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client:​</td><td class="diffline">112 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​is<span class="diffponct">·</span>​responsible<span class="diffponct">·</span>​for<span class="diffponct">·</span>​sending<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">110 </td><td class="diffpresent">/​/​</td><td class="diffline">113 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">111 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">114 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">112 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">115 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">113 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​await_output<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">116 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​await_output<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">114 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<-​-​-​<span class="diffchanged2">+</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">117 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<-​-​-​<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">115 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">118 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">116 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">119 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">117 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​<span class="diffchanged2">+</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">120 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">-​</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">118 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">V</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">121 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">m</span><span class="diffchanged2">b</span><span class="diffchanged2">d</span><span class="diffchanged2">a</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">119 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">+</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">+</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span></td><td class="diffline">122 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">+</span><span class="diffchanged2">-​</span><span class="diffchanged2">></span><span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">120 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span>w<span class="diffchanged2">r</span>it<span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">123 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span>w<span class="diffchanged2">a</span>it<span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">121 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​<span class="diffchanged2">></span><span class="diffchanged2">|</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​|</td><td class="diffline">124 </td><td class="diffpresent">/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">+</span>-​-​-​-​-​-​-​-​-​-​-​-​<span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">-​</span><span class="diffchanged2">+</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">122 </td><td class="diffpresent">/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">|</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td><td class="diffline">125 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">V</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">123 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td><td class="diffline">126 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+<span class="diffchanged2">-​</span>-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">127 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​async_write()​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​lambda<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">128 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​write_line<span class="diffponct">·</span>​<span class="diffponct">·</span>​|-​-​-​-​-​-​-​-​-​-​-​-​-​-​>|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​in<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">129 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​|<span class="diffponct">·</span>​<span class="diffponct">·</span>​write_line<span class="diffponct">·</span>​<span class="diffponct">·</span>​|</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">130 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​+-​-​-​-​-​-​-​-​-​-​-​-​-​-​+</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">124 </td><td class="diffpresent">/​/​</td><td class="diffline">131 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">125 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​first<span class="diffponct">·</span>​waits<span class="diffponct">·</span>​for<span class="diffponct">·</span>​an<span class="diffponct">·</span>​output<span class="diffponct">·</span>​message<span class="diffponct">·</span>​to<span class="diffponct">·</span>​be<span class="diffponct">·</span>​enqueued.​<span class="diffponct">·</span>​It<span class="diffponct">·</span>​does</td><td class="diffline">132 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​first<span class="diffponct">·</span>​waits<span class="diffponct">·</span>​for<span class="diffponct">·</span>​an<span class="diffponct">·</span>​output<span class="diffponct">·</span>​message<span class="diffponct">·</span>​to<span class="diffponct">·</span>​be<span class="diffponct">·</span>​enqueued.​<span class="diffponct">·</span>​It<span class="diffponct">·</span>​does</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">126 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​this<span class="diffponct">·</span>​by<span class="diffponct">·</span>​using<span class="diffponct">·</span>​a<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​as<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​condition<span class="diffponct">·</span>​variable.​<span class="diffponct">·</span>​The</td><td class="diffline">133 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​this<span class="diffponct">·</span>​by<span class="diffponct">·</span>​using<span class="diffponct">·</span>​a<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​as<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​condition<span class="diffponct">·</span>​variable.​<span class="diffponct">·</span>​The</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">127 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​will<span class="diffponct">·</span>​be<span class="diffponct">·</span>​signalled<span class="diffponct">·</span>​whenever<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​is<span class="diffponct">·</span>​non-​empty.​</td><td class="diffline">134 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​will<span class="diffponct">·</span>​be<span class="diffponct">·</span>​signalled<span class="diffponct">·</span>​whenever<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​is<span class="diffponct">·</span>​non-​empty.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">128 </td><td class="diffpresent">/​/​</td><td class="diffline">135 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">129 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Once<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​available,​<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​sent<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for</td><td class="diffline">136 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Once<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​available,​<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​sent<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​client.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">130 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​sending<span class="diffponct">·</span>​a<span class="diffponct">·</span>​complete<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​30<span class="diffponct">·</span>​seconds.​<span class="diffponct">·</span>​After<span class="diffponct">·</span>​the<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​successfully</td><td class="diffline">137 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​sending<span class="diffponct">·</span>​a<span class="diffponct">·</span>​complete<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​30<span class="diffponct">·</span>​seconds.​<span class="diffponct">·</span>​After<span class="diffponct">·</span>​the<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​successfully</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">131 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​sent,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​again<span class="diffponct">·</span>​waits<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​to<span class="diffponct">·</span>​become<span class="diffponct">·</span>​non-​empty.​</td><td class="diffline">138 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​sent,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​again<span class="diffponct">·</span>​waits<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​to<span class="diffponct">·</span>​become<span class="diffponct">·</span>​non-​empty.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">132 </td><td class="diffpresent">/​/​</td><td class="diffline">139 </td><td class="diffpresent">/​/​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">133 </td><td class="diffpresent">class<span class="diffponct">·</span>​tcp_session</td><td class="diffline">140 </td><td class="diffpresent">class<span class="diffponct">·</span>​tcp_session</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">134 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​subscriber,​</td><td class="diffline">141 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​subscriber,​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">135 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>st:​:​enable_shared_from_th​is<tcp_session></td><td class="diffline">142 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​st<span class="diffchanged2">d</span>:​:​enable_shared_from_th​is<tcp_session></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">136 </td><td class="diffpresent">{</td><td class="diffline">143 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">137 </td><td class="diffpresent">public:​</td><td class="diffline">144 </td><td class="diffpresent">public:​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">138 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp_session(<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span>:​:​<span class="diffchanged2">i</span>o<span class="diffchanged2">_</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span>e<span class="diffchanged2">x</span>t<span class="diffchanged2">&</span><span class="diffponct">·</span>​<span class="diffchanged2">i</span>o<span class="diffchanged2">_</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span>e<span class="diffchanged2">x</span>t,​<span class="diffponct">·</span>​channel&<span class="diffponct">·</span>​ch)​</td><td class="diffline">145 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp_session(<span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span>:​:​<span class="diffchanged2">s</span>oc<span class="diffchanged2">k</span>et<span class="diffponct">·</span>​<span class="diffchanged2">s</span>oc<span class="diffchanged2">k</span>et,​<span class="diffponct">·</span>​channel&<span class="diffponct">·</span>​ch)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">139 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​channel_(ch)​,​</td><td class="diffline">146 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​channel_(ch)​,​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">140 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_(<span class="diffchanged2">i</span>o<span class="diffchanged2">_</span><span class="diffchanged2">c</span>o<span class="diffchanged2">n</span><span class="diffchanged2">t</span>e<span class="diffchanged2">x</span>t)​<span class="diffchanged2">,​</span></td><td class="diffline">147 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_(<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span>o<span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">s</span>o<span class="diffchanged2">c</span><span class="diffchanged2">k</span>et)​<span class="diffchanged2">)​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">141 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o​</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">142 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u​</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">143 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c​</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">)​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">144 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">148 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">145 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td><td class="diffline">149 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">146 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td><td class="diffline">150 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">147 </td><td class="diffpresent"></td><td class="diffline">151 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">148 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​non_empty_output_queu​e_<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​is<span class="diffponct">·</span>​set<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​maximum<span class="diffponct">·</span>​time</td><td class="diffline">152 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​non_empty_output_queu​e_<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​is<span class="diffponct">·</span>​set<span class="diffponct">·</span>​to<span class="diffponct">·</span>​the<span class="diffponct">·</span>​maximum<span class="diffponct">·</span>​time</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">149 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​point<span class="diffponct">·</span>​whenever<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​is<span class="diffponct">·</span>​empty.​<span class="diffponct">·</span>​This<span class="diffponct">·</span>​ensures<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output</td><td class="diffline">153 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​point<span class="diffponct">·</span>​whenever<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​is<span class="diffponct">·</span>​empty.​<span class="diffponct">·</span>​This<span class="diffponct">·</span>​ensures<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">150 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​stays<span class="diffponct">·</span>​asleep<span class="diffponct">·</span>​until<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​put<span class="diffponct">·</span>​into<span class="diffponct">·</span>​the<span class="diffponct">·</span>​queue.​</td><td class="diffline">154 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​stays<span class="diffponct">·</span>​asleep<span class="diffponct">·</span>​until<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​put<span class="diffponct">·</span>​into<span class="diffponct">·</span>​the<span class="diffponct">·</span>​queue.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">151 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td><td class="diffline">155 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​expires_at(steady_tim​er:​:​time_point:​:​max()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">152 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">156 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">153 </td><td class="diffpresent"></td><td class="diffline">157 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">154 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​socket&<span class="diffponct">·</span>​socket()​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">155 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">156 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​socket_;​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">157 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">158 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">159 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Called<span class="diffponct">·</span>​by<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​object<span class="diffponct">·</span>​to<span class="diffponct">·</span>​initiate<span class="diffponct">·</span>​the<span class="diffponct">·</span>​four<span class="diffponct">·</span>​actors.​</td><td class="diffline">158 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Called<span class="diffponct">·</span>​by<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​object<span class="diffponct">·</span>​to<span class="diffponct">·</span>​initiate<span class="diffponct">·</span>​the<span class="diffponct">·</span>​four<span class="diffponct">·</span>​actors.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">160 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​start()​</td><td class="diffline">159 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​start()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">161 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">160 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">162 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​channel_.​join(shared_from_this​()​)​;​</td><td class="diffline">161 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​channel_.​join(shared_from_this​()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">163 </td><td class="diffpresent"></td><td class="diffline">162 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">164 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span>a<span class="diffchanged2">r</span><span class="diffchanged2">t</span>_<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span>()​;​</td><td class="diffline">163 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span>a<span class="diffchanged2">d</span>_<span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span>()​;​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">164 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​check_deadline(input_​deadline_)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">165 </td><td class="diffpresent"></td><td class="diffline">165 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">166 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​async_wait(</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">167 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​boost:​:​bind(&tcp_session:​:​check_deadline,​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">168 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​shared_from_this()​,​<span class="diffponct">·</span>​&input_deadline_)​)​;​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">169 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">170 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​await_output()​;​</td><td class="diffline">166 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​await_output()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">171 </td><td class="diffpresent"></td><td class="diffline">167 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t​</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">172 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">173 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span><span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">,​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">174 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">&</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">175 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">168 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">176 </td><td class="diffpresent"></td><td class="diffline">169 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">177 </td><td class="diffpresent">private:​</td><td class="diffline">170 </td><td class="diffpresent">private:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">178 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​stop()​</td><td class="diffline">171 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​stop()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">179 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">172 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">180 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​channel_.​leave(shared_from_thi​s()​)​;​</td><td class="diffline">173 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​channel_.​leave(shared_from_thi​s()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">181 </td><td class="diffpresent"></td><td class="diffline">174 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">182 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:​:​error_code<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">c</span>;​</td><td class="diffline">175 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:​:​error_code<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">183 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​close(ignored_e<span class="diffchanged2">c</span>)​;​</td><td class="diffline">176 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​close(ignored_e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">184 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​cancel()​;​</td><td class="diffline">177 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​cancel()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">185 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​cancel()​;​</td><td class="diffline">178 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​cancel()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">186 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​cancel()​;​</td><td class="diffline">179 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​cancel()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">187 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">180 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">188 </td><td class="diffpresent"></td><td class="diffline">181 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">189 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​bool<span class="diffponct">·</span>​stopped()​<span class="diffponct">·</span>​const</td><td class="diffline">182 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​bool<span class="diffponct">·</span>​stopped()​<span class="diffponct">·</span>​const</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">190 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">183 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">191 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​!socket_.​is_open()​;​</td><td class="diffline">184 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​!socket_.​is_open()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">192 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">185 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">193 </td><td class="diffpresent"></td><td class="diffline">186 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">194 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​</td><td class="diffline">187 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">195 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">188 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">196 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_queue_.​push_back(msg<span class="diffponct">·</span>​+<span class="diffponct">·</span>​"\n")​;​</td><td class="diffline">189 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_queue_.​push_back(msg<span class="diffponct">·</span>​+<span class="diffponct">·</span>​"\n")​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">197 </td><td class="diffpresent"></td><td class="diffline">190 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">198 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Signal<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​contains<span class="diffponct">·</span>​messages.​<span class="diffponct">·</span>​Modifying<span class="diffponct">·</span>​the<span class="diffponct">·</span>​expiry</td><td class="diffline">191 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Signal<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​contains<span class="diffponct">·</span>​messages.​<span class="diffponct">·</span>​Modifying<span class="diffponct">·</span>​the<span class="diffponct">·</span>​expiry</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">199 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​will<span class="diffponct">·</span>​wake<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor,​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on<span class="diffponct">·</span>​the<span class="diffponct">·</span>​timer.​</td><td class="diffline">192 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​will<span class="diffponct">·</span>​wake<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor,​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on<span class="diffponct">·</span>​the<span class="diffponct">·</span>​timer.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">200 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​expires_at(steady_tim​er:​:​time_point:​:​min()​)​;​</td><td class="diffline">193 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​expires_at(steady_tim​er:​:​time_point:​:​min()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">201 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">194 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">202 </td><td class="diffpresent"></td><td class="diffline">195 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">203 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span>a<span class="diffchanged2">r</span><span class="diffchanged2">t</span>_<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span>()​</td><td class="diffline">196 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span>a<span class="diffchanged2">d</span>_<span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span>()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">204 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">197 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">205 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Set<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​read<span class="diffponct">·</span>​operation.​</td><td class="diffline">198 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Set<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​read<span class="diffponct">·</span>​operation.​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">206 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​expires_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:​:​chrono:​:​seconds(30)​)​;​</td><td class="diffline">199 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_deadline_.​expires_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:​:​chrono:​:​seconds(30)​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">207 </td><td class="diffpresent"></td><td class="diffline">200 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">208 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Start<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​to<span class="diffponct">·</span>​read<span class="diffponct">·</span>​a<span class="diffponct">·</span>​newline-​delimited<span class="diffponct">·</span>​message.​</td><td class="diffline">201 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Start<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​to<span class="diffponct">·</span>​read<span class="diffponct">·</span>​a<span class="diffponct">·</span>​newline-​delimited<span class="diffponct">·</span>​message.​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">202 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​auto<span class="diffponct">·</span>​self(shared_from_this​()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">209 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​async_read_until(sock​et_,​</td><td class="diffline">203 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​async_read_until(sock​et_,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">210 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​dynamic_buffer(input_​buffer_)​,​<span class="diffponct">·</span>​'\n',​</td><td class="diffline">204 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​dynamic_buffer(input_​buffer_)​,​<span class="diffponct">·</span>​'\n',​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">211 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>s<span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span>(<span class="diffchanged2">&</span><span class="diffchanged2">t</span>c<span class="diffchanged2">p</span><span class="diffchanged2">_</span>s<span class="diffchanged2">e</span><span class="diffchanged2">s</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>:​<span class="diffchanged2">:​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span>d<span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span>r<span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span>,​<span class="diffponct">·</span>​s<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span>_t<span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">(</span>)​<span class="diffchanged2">,​</span></td><td class="diffline">205 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">[</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span>s<span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">f</span><span class="diffchanged2">]</span>(c<span class="diffchanged2">o</span><span class="diffchanged2">n</span>s<span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>s<span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span>:​<span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span>d<span class="diffchanged2">e</span><span class="diffchanged2">&</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span>r<span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>,​<span class="diffponct">·</span>​s<span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">z</span><span class="diffchanged2">e</span>_t<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span>)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">212 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">h</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">_</span><span class="diffchanged2">1</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">h</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">_</span><span class="diffchanged2">2</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">206 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">213 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td><td class="diffline">207 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">C</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffponct">·</span>​<span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">208 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(stopped()​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">209 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">214 </td><td class="diffpresent"></td><td class="diffline">210 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">215 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">v</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>error<span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">&</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">z</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span>)​</td><td class="diffline">211 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span><span class="diffchanged2">!</span>error)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">216 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">212 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">217 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​i<span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span>s<span class="diffchanged2">t</span>o<span class="diffchanged2">p</span><span class="diffchanged2">p</span>e<span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span></td><td class="diffline">213 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">E</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">-​</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span>i<span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span>s<span class="diffchanged2">a</span><span class="diffchanged2">g</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span>o<span class="diffchanged2">m</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span>e<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">u</span><span class="diffchanged2">f</span><span class="diffchanged2">f</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">218 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​re<span class="diffchanged2">t</span>urn;​</td><td class="diffline">214 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>r<span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">m</span><span class="diffchanged2">s</span><span class="diffchanged2">g</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">u</span><span class="diffchanged2">f</span><span class="diffchanged2">f</span>e<span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">s</span>u<span class="diffchanged2">b</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>r<span class="diffchanged2">(</span><span class="diffchanged2">0</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>n<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">-​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">1</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span>;​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">215 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​input_buffer_.​erase(0,​<span class="diffponct">·</span>​n)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">219 </td><td class="diffpresent"></td><td class="diffline">216 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">220 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(!e<span class="diffchanged2">c</span>)​</td><td class="diffline">217 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(!<span class="diffchanged2">m</span><span class="diffchanged2">s</span><span class="diffchanged2">g</span><span class="diffchanged2">.​</span>e<span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span>)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">221 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">218 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">222 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">E</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffchanged2">t</span>h<span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>ne<span class="diffchanged2">w</span>l<span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">-​</span>del<span class="diffchanged2">i</span><span class="diffchanged2">m</span>i<span class="diffchanged2">t</span>e<span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>m<span class="diffchanged2">e</span><span class="diffchanged2">s</span>s<span class="diffchanged2">a</span>g<span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">u</span><span class="diffchanged2">f</span><span class="diffchanged2">f</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">.​</span></td><td class="diffline">219 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">c</span>h<span class="diffchanged2">a</span><span class="diffchanged2">n</span>nel<span class="diffchanged2">_</span><span class="diffchanged2">.​</span>deli<span class="diffchanged2">v</span>e<span class="diffchanged2">r</span><span class="diffchanged2">(</span>msg<span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">223 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffponct">·</span>​<span class="diffchanged2">m</span><span class="diffchanged2">s</span><span class="diffchanged2">g</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">u</span><span class="diffchanged2">f</span><span class="diffchanged2">f</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">s</span><span class="diffchanged2">u</span><span class="diffchanged2">b</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">0</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffponct">·</span>​<span class="diffchanged2">-​</span><span class="diffponct">·</span>​<span class="diffchanged2">1</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">220 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">224 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">u</span><span class="diffchanged2">f</span><span class="diffchanged2">f</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span>e<span class="diffchanged2">r</span><span class="diffchanged2">a</span>se<span class="diffchanged2">(</span><span class="diffchanged2">0</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">221 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>e<span class="diffchanged2">l</span>se</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">222 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">225 </td><td class="diffpresent"></td><td class="diffline">223 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">226 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​i<span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">!</span>msg.​<span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span>t<span class="diffchanged2">y</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span></td><td class="diffline">224 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">W</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span>i<span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>m<span class="diffchanged2">e</span><span class="diffchanged2">s</span>s<span class="diffchanged2">a</span>g<span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span>.​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">I</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>t<span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">'</span><span class="diffchanged2">s</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">227 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td><td class="diffline">225 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffponct">·</span>​<span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">228 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span>i<span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">m</span><span class="diffchanged2">s</span><span class="diffchanged2">g</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">226 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span>i<span class="diffchanged2">g</span><span class="diffchanged2">h</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">229 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td><td class="diffline">227 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">230 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span></td><td class="diffline">228 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">231 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td><td class="diffline">229 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">(</span><span class="diffchanged2">"</span><span class="diffchanged2">\</span><span class="diffchanged2">n</span><span class="diffchanged2">"</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">232 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">W</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">i</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">.​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">I</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">'</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">233 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">g</span><span class="diffchanged2">h</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">.​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">234 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">235 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">236 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">(</span><span class="diffchanged2">"</span><span class="diffchanged2">\</span><span class="diffchanged2">n</span><span class="diffchanged2">"</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">237 </td><td class="diffpresent"></td><td class="diffline">230 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">238 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Signal<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​contains<span class="diffponct">·</span>​messages.​<span class="diffponct">·</span>​Modifying<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span></td><td class="diffline">231 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Signal<span class="diffponct">·</span>​that<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​queue<span class="diffponct">·</span>​contains<span class="diffponct">·</span>​messages.​<span class="diffponct">·</span>​Modifying</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">239 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​expiry<span class="diffponct">·</span>​will<span class="diffponct">·</span>​wake<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor,​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">.​</span></td><td class="diffline">232 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​expiry<span class="diffponct">·</span>​will<span class="diffponct">·</span>​wake<span class="diffponct">·</span>​the<span class="diffponct">·</span>​output<span class="diffponct">·</span>​actor,​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​it<span class="diffponct">·</span>​is<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">240 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u​</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">p</span><span class="diffchanged2">i</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span>t<span class="diffchanged2">(</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>e<span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span>tim​er<span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">233 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>t<span class="diffchanged2">h</span>e<span class="diffchanged2"><span class="diffponct">·</span>​</span>timer<span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">241 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td><td class="diffline">234 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u​</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">p</span><span class="diffchanged2">i</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">242 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td><td class="diffline">235 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">236 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">237 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">243 </td><td class="diffpresent"></td><td class="diffline">238 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">244 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span>read()​;​</td><td class="diffline">239 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>read<span class="diffchanged2">_</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span>()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">245 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">240 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">246 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td><td class="diffline">241 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">247 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">242 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">248 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​stop()​;​</td><td class="diffline">243 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​stop()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">249 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">244 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">245 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​})​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">250 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">246 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">251 </td><td class="diffpresent"></td><td class="diffline">247 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">252 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​await_output()​</td><td class="diffline">248 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​await_output()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">253 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">249 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">254 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​(s<span class="diffchanged2">t</span>o<span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span>()​)​</td><td class="diffline">250 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">f</span>(s<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span>o<span class="diffchanged2">m</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s​</span>()​)​<span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">255 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span>etu<span class="diffchanged2">r</span>n<span class="diffchanged2">;​</span></td><td class="diffline">251 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span>e<span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span>t<span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span>u​<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span>n<span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">252 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​[this,​<span class="diffponct">·</span>​self](const<span class="diffponct">·</span>​std:​:​error_code&<span class="diffponct">·</span>​/​*error*/​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">253 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">254 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Check<span class="diffponct">·</span>​if<span class="diffponct">·</span>​the<span class="diffponct">·</span>​session<span class="diffponct">·</span>​was<span class="diffponct">·</span>​stopped<span class="diffponct">·</span>​while<span class="diffponct">·</span>​the<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​was<span class="diffponct">·</span>​pending.​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">255 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(stopped()​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">256 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">256 </td><td class="diffpresent"></td><td class="diffline">257 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">257 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(output_queue_.​empty()​)​</td><td class="diffline">258 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(output_queue_.​empty()​)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">258 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">259 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">259 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​There<span class="diffponct">·</span>​are<span class="diffponct">·</span>​no<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​that<span class="diffponct">·</span>​are<span class="diffponct">·</span>​ready<span class="diffponct">·</span>​to<span class="diffponct">·</span>​be<span class="diffponct">·</span>​sent.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​goes<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span></td><td class="diffline">260 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​There<span class="diffponct">·</span>​are<span class="diffponct">·</span>​no<span class="diffponct">·</span>​messages<span class="diffponct">·</span>​that<span class="diffponct">·</span>​are<span class="diffponct">·</span>​ready<span class="diffponct">·</span>​to<span class="diffponct">·</span>​be<span class="diffponct">·</span>​sent.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​goes</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">260 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​sleep<span class="diffponct">·</span>​by<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on<span class="diffponct">·</span>​the<span class="diffponct">·</span>​non_empty_output_queu​e_<span class="diffponct">·</span>​timer.​<span class="diffponct">·</span>​When<span class="diffponct">·</span>​a<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span></td><td class="diffline">261 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">·</span>​sleep<span class="diffponct">·</span>​by<span class="diffponct">·</span>​waiting<span class="diffponct">·</span>​on<span class="diffponct">·</span>​the<span class="diffponct">·</span>​non_empty_output_queu​e_<span class="diffponct">·</span>​timer.​<span class="diffponct">·</span>​When<span class="diffponct">·</span>​a</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">261 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​added,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​timer<span class="diffponct">·</span>​will<span class="diffponct">·</span>​be<span class="diffponct">·</span>​modified<span class="diffponct">·</span>​and<span class="diffponct">·</span>​the<span class="diffponct">·</span>​actor<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">i</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">.​</span></td><td class="diffline">262 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffponct">·</span>​message<span class="diffponct">·</span>​is<span class="diffponct">·</span>​added,​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​timer<span class="diffponct">·</span>​will<span class="diffponct">·</span>​be<span class="diffponct">·</span>​modified<span class="diffponct">·</span>​and<span class="diffponct">·</span>​the<span class="diffponct">·</span>​actor</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">262 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">e</span><span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u​</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">p</span>i<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span>a<span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m​</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span>e<span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">x</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">263 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span>i<span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span>a<span class="diffchanged2">k</span>e<span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">263 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​asy<span class="diffchanged2">n</span><span class="diffchanged2">c</span>_<span class="diffchanged2">w</span><span class="diffchanged2">a</span>it(</td><td class="diffline">264 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​non_empty_output_queu​e_.​<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">p</span><span class="diffchanged2">i</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span>a<span class="diffchanged2">t</span><span class="diffchanged2">(</span>s<span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span>y<span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m​</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span>_<span class="diffchanged2">p</span><span class="diffchanged2">o</span>i<span class="diffchanged2">n</span>t<span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">x</span>(<span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">264 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span><span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>await_outpu<span class="diffchanged2">t</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2">_</span>t<span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span>(<span class="diffchanged2">)​</span><span class="diffchanged2">)​</span>)​;​</td><td class="diffline">265 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>await_output()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">265 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">266 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">266 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td><td class="diffline">267 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">267 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">268 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">268 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span>write()​;​</td><td class="diffline">269 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>writ<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span>e()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">269 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">270 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">271 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​})​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">270 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">272 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">271 </td><td class="diffpresent"></td><td class="diffline">273 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">272 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span>t<span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">r</span>i<span class="diffchanged2">t</span>e()​</td><td class="diffline">274 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span>t<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">l</span>i<span class="diffchanged2">n</span>e()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">273 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">275 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">274 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Set<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​write<span class="diffponct">·</span>​operation.​</td><td class="diffline">276 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Set<span class="diffponct">·</span>​a<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​write<span class="diffponct">·</span>​operation.​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">275 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​expires_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:​:​chrono:​:​seconds(30)​)​;​</td><td class="diffline">277 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​output_deadline_.​expires_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:​:​chrono:​:​seconds(30)​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">276 </td><td class="diffpresent"></td><td class="diffline">278 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">277 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Start<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​to<span class="diffponct">·</span>​send<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message.​</td><td class="diffline">279 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Start<span class="diffponct">·</span>​an<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​to<span class="diffponct">·</span>​send<span class="diffponct">·</span>​a<span class="diffponct">·</span>​message.​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">280 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​auto<span class="diffponct">·</span>​self(shared_from_this​()​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">278 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​async_write(socket_,​</td><td class="diffline">281 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​async_write(socket_,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">279 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​buffer(output_queue_.​front()​)​,​</td><td class="diffline">282 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​buffer(output_queue_.​front()​)​,​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">280 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span>o<span class="diffchanged2">o</span>st:​:​<span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span>d<span class="diffchanged2">(</span>&<span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>:​:​<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">,​</span></td><td class="diffline">283 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">[</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">f</span><span class="diffchanged2">]</span><span class="diffchanged2">(</span><span class="diffchanged2">c</span>o<span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>st<span class="diffchanged2">d</span>:​:​<span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span>d<span class="diffchanged2">e</span>&<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span>:​:​<span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">z</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">*</span><span class="diffchanged2">n</span><span class="diffchanged2">*</span><span class="diffchanged2">/​</span><span class="diffchanged2">)​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">281 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">h</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">_</span><span class="diffchanged2">1</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">284 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">282 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td><td class="diffline">285 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">C</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffponct">·</span>​<span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2">.​</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">286 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(stopped()​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">287 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">283 </td><td class="diffpresent"></td><td class="diffline">288 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">284 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">v</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">r</span>i<span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>error<span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">&</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span>)​</td><td class="diffline">289 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>i<span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">!</span>error)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">285 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">290 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">286 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">s</span>top<span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span>()​<span class="diffchanged2">)​</span></td><td class="diffline">291 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span>t<span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">p</span>op<span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span>()​<span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">287 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">u</span><span class="diffchanged2">r</span><span class="diffchanged2">n</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">288 </td><td class="diffpresent"></td><td class="diffline">292 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">289 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​i<span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span><span class="diffchanged2">!</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span>)​</td><td class="diffline">293 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span>i<span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span>)​<span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">290 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td><td class="diffline">294 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">291 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">u</span>e<span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">295 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>e<span class="diffchanged2">l</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">292 </td><td class="diffpresent"></td><td class="diffline">296 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">293 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span>t<span class="diffchanged2">p</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span>()​;​</td><td class="diffline">297 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span>t<span class="diffchanged2">o</span><span class="diffchanged2">p</span>()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">294 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">298 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">295 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span></td><td class="diffline">299 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">296 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">297 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">298 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">299 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">300 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">300 </td><td class="diffpresent"></td><td class="diffline">301 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">301 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​check_deadline(steady​_timer<span class="diffchanged2">*</span><span class="diffponct">·</span>​deadline)​</td><td class="diffline">302 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​check_deadline(steady​_timer<span class="diffchanged2">&</span><span class="diffponct">·</span>​deadline)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">302 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">303 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">303 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​(s<span class="diffchanged2">t</span>o<span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span>()​)​</td><td class="diffline">304 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">f</span>(s<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span>o<span class="diffchanged2">m</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s​</span>()​)​<span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">304 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span>e<span class="diffchanged2">t</span><span class="diffchanged2">u</span><span class="diffchanged2">r</span>n<span class="diffchanged2">;​</span></td><td class="diffline">305 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span>e<span class="diffchanged2">.​</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span>n<span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">306 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​[this,​<span class="diffponct">·</span>​self,​<span class="diffponct">·</span>​&deadline](const<span class="diffponct">·</span>​std:​:​error_code&<span class="diffponct">·</span>​/​*error*/​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">307 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">308 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Check<span class="diffponct">·</span>​if<span class="diffponct">·</span>​the<span class="diffponct">·</span>​session<span class="diffponct">·</span>​was<span class="diffponct">·</span>​stopped<span class="diffponct">·</span>​while<span class="diffponct">·</span>​the<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​was<span class="diffponct">·</span>​pending.​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">309 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(stopped()​)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">310 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">305 </td><td class="diffpresent"></td><td class="diffline">311 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">306 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Check<span class="diffponct">·</span>​whether<span class="diffponct">·</span>​the<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has<span class="diffponct">·</span>​passed.​<span class="diffponct">·</span>​We<span class="diffponct">·</span>​compare<span class="diffponct">·</span>​the<span class="diffponct">·</span>​deadline<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span></td><td class="diffline">312 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Check<span class="diffponct">·</span>​whether<span class="diffponct">·</span>​the<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has<span class="diffponct">·</span>​passed.​<span class="diffponct">·</span>​We<span class="diffponct">·</span>​compare<span class="diffponct">·</span>​the<span class="diffponct">·</span>​deadline</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">307 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​current<span class="diffponct">·</span>​time<span class="diffponct">·</span>​since<span class="diffponct">·</span>​a<span class="diffponct">·</span>​new<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​may<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">m</span><span class="diffchanged2">o</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span></td><td class="diffline">313 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​the<span class="diffponct">·</span>​current<span class="diffponct">·</span>​time<span class="diffponct">·</span>​since<span class="diffponct">·</span>​a<span class="diffponct">·</span>​new<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​may</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">308 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​before<span class="diffponct">·</span>​this<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​had<span class="diffponct">·</span>​a<span class="diffponct">·</span>​chance<span class="diffponct">·</span>​to<span class="diffponct">·</span>​run.​</td><td class="diffline">314 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">m</span><span class="diffchanged2">o</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​before<span class="diffponct">·</span>​this<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​had<span class="diffponct">·</span>​a<span class="diffponct">·</span>​chance<span class="diffponct">·</span>​to<span class="diffponct">·</span>​run.​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">309 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(deadline<span class="diffchanged2">-​</span><span class="diffchanged2">></span>expiry()​<span class="diffponct">·</span>​<=<span class="diffponct">·</span>​steady_timer:​:​clock_type:​:​now()​)​</td><td class="diffline">315 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(deadline<span class="diffchanged2">.​</span>expiry()​<span class="diffponct">·</span>​<=<span class="diffponct">·</span>​steady_timer:​:​clock_type:​:​now()​)​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">310 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">316 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">311 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has<span class="diffponct">·</span>​passed.​<span class="diffponct">·</span>​Stop<span class="diffponct">·</span>​the<span class="diffponct">·</span>​session.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​other<span class="diffponct">·</span>​actors<span class="diffponct">·</span>​will</td><td class="diffline">317 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​deadline<span class="diffponct">·</span>​has<span class="diffponct">·</span>​passed.​<span class="diffponct">·</span>​Stop<span class="diffponct">·</span>​the<span class="diffponct">·</span>​session.​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​other<span class="diffponct">·</span>​actors<span class="diffponct">·</span>​will</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">312 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​terminate<span class="diffponct">·</span>​as<span class="diffponct">·</span>​soon<span class="diffponct">·</span>​as<span class="diffponct">·</span>​possible.​</td><td class="diffline">318 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​terminate<span class="diffponct">·</span>​as<span class="diffponct">·</span>​soon<span class="diffponct">·</span>​as<span class="diffponct">·</span>​possible.​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">313 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​stop()​;​</td><td class="diffline">319 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​stop()​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">314 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">320 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">315 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td><td class="diffline">321 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​else</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">316 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">322 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">317 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Put<span class="diffponct">·</span>​the<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​back<span class="diffponct">·</span>​to<span class="diffponct">·</span>​sleep.​</td><td class="diffline">323 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Put<span class="diffponct">·</span>​the<span class="diffponct">·</span>​actor<span class="diffponct">·</span>​back<span class="diffponct">·</span>​to<span class="diffponct">·</span>​sleep.​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">318 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​deadline<span class="diffchanged2">-​</span><span class="diffchanged2">></span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td><td class="diffline">324 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">_</span>deadline<span class="diffchanged2">(</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i​</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">319 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span><span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">_</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">,​</span></td><td class="diffline">325 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">320 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2">_</span><span class="diffchanged2">f</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">)​</span>)​;​</td><td class="diffline">326 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span>)​;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">321 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">322 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">327 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">323 </td><td class="diffpresent"></td><td class="diffline">328 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">324 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​channel&<span class="diffponct">·</span>​channel_;​</td><td class="diffline">329 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​channel&<span class="diffponct">·</span>​channel_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">325 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​socket<span class="diffponct">·</span>​socket_;​</td><td class="diffline">330 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​socket<span class="diffponct">·</span>​socket_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">326 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​string<span class="diffponct">·</span>​input_buffer_;​</td><td class="diffline">331 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​string<span class="diffponct">·</span>​input_buffer_;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">327 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​input_deadline_;​</td><td class="diffline">332 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​input_deadlin<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">{</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e​</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">g</span>e<span class="diffchanged2">t</span>_<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">}</span>;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">328 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​deque<std:​:​string><span class="diffponct">·</span>​output_queue_;​</td><td class="diffline">333 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​deque<std:​:​string><span class="diffponct">·</span>​output_queue_;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">329 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​non_empty_output_queu​e_;​</td><td class="diffline">334 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​non_empty_output_queu​<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">{</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">g</span>e<span class="diffchanged2">t</span>_<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">}</span>;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">330 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​output_deadline_;​</td><td class="diffline">335 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​steady_timer<span class="diffponct">·</span>​output_deadlin<span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">{</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k​</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">g</span>e<span class="diffchanged2">t</span>_<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">}</span>;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">331 </td><td class="diffpresent">};​</td><td class="diffline">336 </td><td class="diffpresent">};​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">332 </td><td class="diffpresent"></td><td class="diffline">337 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">333 </td><td class="diffpresent">typedef<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>st:​:​shared_ptr<tcp_sessio​n><span class="diffponct">·</span>​tcp_session_ptr;​</td><td class="diffline">338 </td><td class="diffpresent">typedef<span class="diffponct">·</span>​st<span class="diffchanged2">d</span>:​:​shared_ptr<tcp_sessio​n><span class="diffponct">·</span>​tcp_session_ptr;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">334 </td><td class="diffpresent"></td><td class="diffline">339 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">335 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">340 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">336 </td><td class="diffpresent"></td><td class="diffline">341 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">337 </td><td class="diffpresent">class<span class="diffponct">·</span>​udp_broadcaster</td><td class="diffline">342 </td><td class="diffpresent">class<span class="diffponct">·</span>​udp_broadcaster</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">338 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​subscriber</td><td class="diffline">343 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​public<span class="diffponct">·</span>​subscriber</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">339 </td><td class="diffpresent">{</td><td class="diffline">344 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">340 </td><td class="diffpresent">public:​</td><td class="diffline">345 </td><td class="diffpresent">public:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">341 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​udp_broadcaster(asio:​:​io_context&<span class="diffponct">·</span>​io_context,​</td><td class="diffline">346 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​udp_broadcaster(asio:​:​io_context&<span class="diffponct">·</span>​io_context,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">342 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​udp:​:​endpoint&<span class="diffponct">·</span>​broadcast_endpoint)​</td><td class="diffline">347 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​udp:​:​endpoint&<span class="diffponct">·</span>​broadcast_endpoint)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">343 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​socket_(io_context)​</td><td class="diffline">348 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​socket_(io_context)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">344 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">349 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">345 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​connect(broadcast_end​point)​;​</td><td class="diffline">350 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​connect(broadcast_end​point)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">346 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​set_option(udp:​:​socket:​:​broadcast(true)​)​;​</td><td class="diffline">351 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​set_option(udp:​:​socket:​:​broadcast(true)​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">347 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">352 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">348 </td><td class="diffpresent"></td><td class="diffline">353 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">349 </td><td class="diffpresent">private:​</td><td class="diffline">354 </td><td class="diffpresent">private:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">350 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​</td><td class="diffline">355 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​deliver(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​msg)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">351 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">356 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">352 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:​:​error_code<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">c</span>;​</td><td class="diffline">357 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:​:​error_code<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>;​</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">353 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​send(asio:​:​buffer(msg)​,​<span class="diffponct">·</span>​0,​<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">c</span>)​;​</td><td class="diffline">358 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​socket_.​send(asio:​:​buffer(msg)​,​<span class="diffponct">·</span>​0,​<span class="diffponct">·</span>​ignored_e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">354 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">359 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">355 </td><td class="diffpresent"></td><td class="diffline">360 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">356 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​udp:​:​socket<span class="diffponct">·</span>​socket_;​</td><td class="diffline">361 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​udp:​:​socket<span class="diffponct">·</span>​socket_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">357 </td><td class="diffpresent">};​</td><td class="diffline">362 </td><td class="diffpresent">};​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">358 </td><td class="diffpresent"></td><td class="diffline">363 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">359 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">364 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">360 </td><td class="diffpresent"></td><td class="diffline">365 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">361 </td><td class="diffpresent">class<span class="diffponct">·</span>​server</td><td class="diffline">366 </td><td class="diffpresent">class<span class="diffponct">·</span>​server</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">362 </td><td class="diffpresent">{</td><td class="diffline">367 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">363 </td><td class="diffpresent">public:​</td><td class="diffline">368 </td><td class="diffpresent">public:​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">364 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​server(asio:​:​io_context&<span class="diffponct">·</span>​io_context,​</td><td class="diffline">369 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​server(asio:​:​io_context&<span class="diffponct">·</span>​io_context,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">365 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​tcp:​:​endpoint&<span class="diffponct">·</span>​listen_endpoint,​</td><td class="diffline">370 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​tcp:​:​endpoint&<span class="diffponct">·</span>​listen_endpoint,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">366 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​udp:​:​endpoint&<span class="diffponct">·</span>​broadcast_endpoint)​</td><td class="diffline">371 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​udp:​:​endpoint&<span class="diffponct">·</span>​broadcast_endpoint)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">367 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​io_context_(io_contex​t)​,​</td><td class="diffline">372 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​io_context_(io_contex​t)​,​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">368 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_(io_context,​<span class="diffponct">·</span>​listen_endpoint)​</td><td class="diffline">373 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_(io_context,​<span class="diffponct">·</span>​listen_endpoint)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">369 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">374 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">370 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">u</span><span class="diffchanged2">b</span><span class="diffchanged2">s</span><span class="diffchanged2">c</span><span class="diffchanged2">r</span><span class="diffchanged2">i</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">r</span><span class="diffponct">·</span>​<span class="diffchanged2">b</span>c<span class="diffchanged2">(</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">u</span><span class="diffchanged2">d</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">b</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">c</span>a<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o​</span>n<span class="diffchanged2">t</span>e<span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>_<span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">p</span>oin<span class="diffchanged2">t</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">375 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​c<span class="diffchanged2">h</span>an<span class="diffchanged2">n</span>e<span class="diffchanged2">l</span>_<span class="diffchanged2">.​</span><span class="diffchanged2">j</span>oin<span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">371 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">c</span>ha<span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span>_<span class="diffchanged2">.​</span><span class="diffchanged2">j</span>o<span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">b</span><span class="diffchanged2">c</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">376 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span>ha<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><</span><span class="diffchanged2">u</span><span class="diffchanged2">d</span><span class="diffchanged2">p</span>_<span class="diffchanged2">b</span><span class="diffchanged2">r</span>o<span class="diffchanged2">a</span><span class="diffchanged2">d​</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">></span><span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">377 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​io_context_,​<span class="diffponct">·</span>​broadcast_endpoint)​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">372 </td><td class="diffpresent"></td><td class="diffline">378 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">373 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span>accept()​;​</td><td class="diffline">379 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​accept()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">374 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">380 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">375 </td><td class="diffpresent"></td><td class="diffline">381 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">376 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">v</span><span class="diffchanged2">o</span>i<span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>a<span class="diffchanged2">r</span>t<span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span>e<span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span></td><td class="diffline">382 </td><td class="diffpresent"><span class="diffchanged2">p</span><span class="diffchanged2">r</span>i<span class="diffchanged2">v</span>ate<span class="diffchanged2">:​</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">383 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​accept()​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">377 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">384 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffchanged"><td class="diffline">378 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">t</span>c<span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span>e<span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span>pt<span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span>o<span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span>_<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>n<span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">x​</span><span class="diffchanged2">t</span>_<span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span>a<span class="diffchanged2">n</span><span class="diffchanged2">n</span>e<span class="diffchanged2">l</span><span class="diffchanged2">_</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">385 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span>c<span class="diffchanged2">c</span>epto<span class="diffchanged2">r</span>_<span class="diffchanged2">.​</span><span class="diffchanged2">a</span>s<span class="diffchanged2">y</span>nc_a<span class="diffchanged2">c</span><span class="diffchanged2">c</span>e<span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">386 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​[this](const<span class="diffponct">·</span>​std:​:​error_code&<span class="diffponct">·</span>​error,​<span class="diffponct">·</span>​tcp:​:​socket<span class="diffponct">·</span>​socket)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">387 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">388 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(!error)​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">389 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">390 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​make_shared<tcp_sessi​on>(std:​:​move(socket)​,​<span class="diffponct">·</span>​channel_)​-​>start()​;​</td></tr>
|
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">391 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">379 </td><td class="diffpresent"></td><td class="diffline">392 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">380 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span>accep<span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s​</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">-​</span><span class="diffchanged2">></span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span>t()​<span class="diffchanged2">,​</span></td><td class="diffline">393 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>accept()​<span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">381 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">,​</span></td><td class="diffline">394 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
|
<tr class="diffchanged"><td class="diffline">382 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">,​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">h</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">_</span><span class="diffchanged2">1</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">383 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">395 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">384 </td><td class="diffpresent"></td><td class="diffline">396 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">385 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​void<span class="diffponct">·</span>​handle_accept(tcp_ses​sion_ptr<span class="diffponct">·</span>​session,​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">386 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​asio:​:​error_code&<span class="diffponct">·</span>​ec)​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">387 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">388 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(!ec)​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">389 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">390 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​session-​>start()​;​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">391 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">392 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">393 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​start_accept()​;​</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">394 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">395 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
|
|
<tr class="diffdeleted"><td class="diffline">396 </td><td class="diffpresent">private:​</td><td colspan="2"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">397 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​io_context&<span class="diffponct">·</span>​io_context_;​</td><td class="diffline">397 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​io_context&<span class="diffponct">·</span>​io_context_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">398 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​acceptor<span class="diffponct">·</span>​acceptor_;​</td><td class="diffline">398 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​acceptor<span class="diffponct">·</span>​acceptor_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">399 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​channel<span class="diffponct">·</span>​channel_;​</td><td class="diffline">399 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​channel<span class="diffponct">·</span>​channel_;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">400 </td><td class="diffpresent">};​</td><td class="diffline">400 </td><td class="diffpresent">};​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">401 </td><td class="diffpresent"></td><td class="diffline">401 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">402 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td><td class="diffline">402 </td><td class="diffpresent">/​/​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">403 </td><td class="diffpresent"></td><td class="diffline">403 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">404 </td><td class="diffpresent">int<span class="diffponct">·</span>​main(int<span class="diffponct">·</span>​argc,​<span class="diffponct">·</span>​char*<span class="diffponct">·</span>​argv[])​</td><td class="diffline">404 </td><td class="diffpresent">int<span class="diffponct">·</span>​main(int<span class="diffponct">·</span>​argc,​<span class="diffponct">·</span>​char*<span class="diffponct">·</span>​argv[])​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">405 </td><td class="diffpresent">{</td><td class="diffline">405 </td><td class="diffpresent">{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">406 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​try</td><td class="diffline">406 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​try</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">407 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">407 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">408 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​using<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​std;​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​For<span class="diffponct">·</span>​atoi.​</td><td class="diffline">408 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​using<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​std;​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​For<span class="diffponct">·</span>​atoi.​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">409 </td><td class="diffpresent"></td><td class="diffline">409 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">410 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(argc<span class="diffponct">·</span>​!=<span class="diffponct">·</span>​4)​</td><td class="diffline">410 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​if<span class="diffponct">·</span>​(argc<span class="diffponct">·</span>​!=<span class="diffponct">·</span>​4)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">411 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">411 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">412 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​cerr<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"Usage:​<span class="diffponct">·</span>​server<span class="diffponct">·</span>​<listen_port><span class="diffponct">·</span>​<bcast_address><span class="diffponct">·</span>​<bcast_port>\n";​</td><td class="diffline">412 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​cerr<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"Usage:​<span class="diffponct">·</span>​server<span class="diffponct">·</span>​<listen_port><span class="diffponct">·</span>​<bcast_address><span class="diffponct">·</span>​<bcast_port>\n";​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">413 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​1;​</td><td class="diffline">413 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​1;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">414 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">414 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">415 </td><td class="diffpresent"></td><td class="diffline">415 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">416 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​io_context<span class="diffponct">·</span>​io_context;​</td><td class="diffline">416 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​io_context<span class="diffponct">·</span>​io_context;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">417 </td><td class="diffpresent"></td><td class="diffline">417 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">418 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​endpoint<span class="diffponct">·</span>​listen_endpoint(tcp:​:​v4()​,​<span class="diffponct">·</span>​atoi(argv[1])​)​;​</td><td class="diffline">418 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​tcp:​:​endpoint<span class="diffponct">·</span>​listen_endpoint(tcp:​:​v4()​,​<span class="diffponct">·</span>​atoi(argv[1])​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">419 </td><td class="diffpresent"></td><td class="diffline">419 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">420 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​udp:​:​endpoint<span class="diffponct">·</span>​broadcast_endpoint(</td><td class="diffline">420 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​udp:​:​endpoint<span class="diffponct">·</span>​broadcast_endpoint(</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">421 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​make_address(argv[2])​,​<span class="diffponct">·</span>​atoi(argv[3])​)​;​</td><td class="diffline">421 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​make_address(argv[2])​,​<span class="diffponct">·</span>​atoi(argv[3])​)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">422 </td><td class="diffpresent"></td><td class="diffline">422 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">423 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​server<span class="diffponct">·</span>​s(io_context,​<span class="diffponct">·</span>​listen_endpoint,​<span class="diffponct">·</span>​broadcast_endpoint)​;​</td><td class="diffline">423 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​server<span class="diffponct">·</span>​s(io_context,​<span class="diffponct">·</span>​listen_endpoint,​<span class="diffponct">·</span>​broadcast_endpoint)​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">424 </td><td class="diffpresent"></td><td class="diffline">424 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">425 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​io_context.​run()​;​</td><td class="diffline">425 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​io_context.​run()​;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">426 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">426 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">427 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​catch<span class="diffponct">·</span>​(std:​:​exception&<span class="diffponct">·</span>​e)​</td><td class="diffline">427 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​catch<span class="diffponct">·</span>​(std:​:​exception&<span class="diffponct">·</span>​e)​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">428 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td><td class="diffline">428 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">429 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​cerr<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"Exception:​<span class="diffponct">·</span>​"<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​e.​what()​<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"\n";​</td><td class="diffline">429 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​std:​:​cerr<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"Exception:​<span class="diffponct">·</span>​"<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​e.​what()​<span class="diffponct">·</span>​<<<span class="diffponct">·</span>​"\n";​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">430 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td><td class="diffline">430 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">431 </td><td class="diffpresent"></td><td class="diffline">431 </td><td class="diffpresent"></td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">432 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​0;​</td><td class="diffline">432 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​return<span class="diffponct">·</span>​0;​</td></tr>
|
|
<tr class="diffunmodified"><td class="diffline">433 </td><td class="diffpresent">}</td><td class="diffline">433 </td><td class="diffpresent">}</td></tr>
|
|
|
|
</table>
|
|
|
|
<footer>
|
|
<p>Modified at 26.04.2023. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>. </p>
|
|
</footer>
|
|
</body></html>
|