package Ġio . open future . chain . network . handler . core Ċ Ċ import Ġio . netty . channel . Channel Handler . Sh arable Ċ import Ġio . netty . channel . Channel HandlerContext Ċ import Ġio . netty . channel . Simple Channel Inbound Handler Ċ import Ġio . open future . chain . core . model . entity . transaction . un confirmed . Un confirmed Vote Transaction Ċ import Ġio . open future . chain . core . service . Transaction Manager Ċ import Ġio . open future . chain . network . message . core . Vote Transaction Message Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ @ Component Ċ @ Sh arable Ċ class ĠV ote Transaction Handler ( ĊĠĠĠ Ġprivate Ġval Ġtransaction Manager : ĠTransaction Manager Ċ ) Ġ: ĠSimple Channel Inbound Handler < Vote Transaction Message >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġchannel Read 0 ( ctx : ĠChannel HandlerContext , Ġmsg : ĠV ote Transaction Message ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtransaction Manager . add ( Un confirmed Vote Transaction . of ( msg )) ĊĠĠĠ Ġ} Ċ Ċ }