package Ġcom . github . house power . jdbc . protocol Ċ Ċ import Ġcom . github . house power . jdbc . serializer . Binary Deserializer Ċ import Ġcom . github . house power . jdbc . serializer . Binary Serializer Ċ import Ġjava . io . IOException Ċ Ċ class ĠProgress Response ( val Ġnew Rows : ĠLong , Ġval Ġnew Bytes : ĠLong , Ġval Ġnew Total Rows : ĠLong ) Ġ: ĠRequest Or Response ( Protocol Type . RESPONSE _ Progress ) Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġwrite Impl ( serializer : ĠBinary Serializer ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Progress Response ĠCannot Ġwrite Ġto ĠServer .") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Throws ( IOException :: class ) ĊĠĠĠĠĠĠĠ Ġsuspend Ġfun Ġread From ( de serializer : ĠBinary Deserializer ): ĠProgress Response Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠProgress Response ( de serializer . read Var Int (), Ġde serializer . read Var Int (), Ġde serializer . read Var Int ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }