package Ġcom . p oc . flow Ċ Ċ import Ġco . parallel universe . fib ers . Suspend able Ċ import Ġcom . p oc . contract . Account Transfer Contract Ċ import Ġcom . p oc . service . Proxy Name Database Service Ċ import Ġcom . p oc . service . Proxy Name Oracle Ċ import Ġnet . cord a . core . contracts . Command Ċ import Ġnet . cord a . core . crypto . Transaction Signature Ċ import Ġnet . cord a . core . flows .* Ċ import Ġnet . cord a . core . identity . Party Ċ import Ġnet . cord a . core . transactions . Filtered Transaction Ċ import Ġnet . cord a . core . utilities . unwrap Ċ import Ġjavax . annotation . processing . Supported Source Version Ċ Ċ @ Initi ating Flow Ċ class ĠProxy Name Sign Flow ( val Ġoracle : ĠParty , Ġval Ġf tx : ĠFilter ed Transaction ): ĠFlow Logic < Transaction Signature >() Ġ{ ĊĊĠĠĠ Ġ@ Suspend able ĊĠĠĠ Ġoverride Ġfun Ġcall (): ĠTransaction Signature Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġinitiate Flow ( oracle ). send And Receive < Transaction Signature >( ft x ). unwrap { Ġit Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ @ Initi ated By ( Proxy Name Sign Flow :: class ) Ċ class ĠProxy Name Sign Flow Handler ( val Ġcounter Party Session : ĠFlow Session ): ĠFlow Logic < Unit >() Ġ{ ĊĊĠĠĠ Ġ@ Suspend able ĊĠĠĠ Ġoverride Ġfun Ġcall () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġrequest Ġ= Ġcounter Party Session . receive < Filtered Transaction >(). unwrap Ġ{ Ġit Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġoracle Service Ġ= Ġservice Hub . cord a Service ( Proxy Name Oracle :: class . java ) ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= Ġtry Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoracle Service . sign ( request ) ĊĠĠĠĠĠĠĠ Ġ} Ġcatch Ġ( e : Exception ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthrow ĠFlow Exception ( e ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġcounter Party Session . send ( response ) ĊĠĠĠ Ġ} Ċ }