package Ġcom . hand control . server . mqtt . command . get Ċ Ċ import Ġcom . hand control . server . mqtt . command . Dynamic Command Ċ import Ġcom . hand control . server . mqtt . command . dto . gesture . Get Gest ures Dto Ċ import Ġcom . hand control . server . mqtt . command . enums . Dynamic Api . Dynamic Topic . GET _ GEST URE S Ċ import Ġcom . hand control . server . service . Pro the sis Service Ċ import Ġcom . hand control . server . util . Protobuf Serializer Ċ import Ġkotlinx . serialization . Experimental Serialization Api Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ /** Ċ Ġ* Ġ ĠGet Ġactual Ġgest ures Ġfrom Ġa Ġprost hesis Ċ Ġ*/ Ċ @ Component Ċ @ Experimental Serialization Api Ċ class ĠGet Gest ures Ġ: ĠDynamic Command ( GET _ GEST URE S ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġlogger Ġ= ĠLoggerFactory . getLogger ( Get Gest ures :: class . java ) ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġsvc : ĠPro the sis Service ĊĊĠĠĠ Ġoverride Ġfun Ġhandle Payload And Id ( id : ĠString , ĠbyteArray : ĠByteArray ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġgest ures Ġ= ĠProtobuf Serializer . deserialize < Get Gest ures Dto >( byteArray ) ĊĠĠĠĠĠĠĠ Ġlogger . debug (" Get Ġgest ures Ġfrom Ġ{} : Ġ{}", Ġid , Ġgest ures ) ĊĊĠĠĠĠĠĠĠ Ġval Ġup d Res Ġ= Ġsvc . update Gest ures ( id , Ġgest ures ) ĊĠĠĠĠĠĠĠ Ġlogger . trace (" Update Ġand Ġsave Ġprost hesis Ġconfiguration : Ġ{}", Ġup d Res ) ĊĠĠĠ Ġ} Ċ Ċ }