/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 1 7 / 2 0 2 1 Ġe - voy age urs Ġtechnologies Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġai . to ck . bot . orche stration . orche strator Ċ Ċ import Ġai . to ck . bot . engine . user . Player Id Ċ import Ġai . to ck . bot . orche stration . shared . Ask El ig ibility To Orche str ated Bot Request Ċ import Ġai . to ck . bot . orche stration . shared . No Orche stration Status . END Ċ import Ġai . to ck . bot . orche stration . shared . No Orche stration Status . NOT _ AVAILABLE Ċ import Ġai . to ck . bot . orche stration . shared . Orche stration MetaData Ċ import Ġai . to ck . bot . orche stration . shared . Orche stration Target ed Bot Ċ import Ġai . to ck . bot . orche stration . shared . Resume Orche stration Request Ċ import Ġai . to ck . bot . orche stration . shared . Secondary Bot No Response Ċ import Ġai . to ck . bot . orche stration . shared . Secondary Bot Response Ċ Ċ abstract Ġclass ĠO rche str ated Runtime Bot ( ĊĠĠĠ Ġopen Ġval Ġtarget : ĠO rche stration Target ed Bot Ċ ) Ġ{ ĊĠĠĠ Ġopen Ġfun Ġask Orche stration ( request : ĠAsk El ig ibility To Orche str ated Bot Request ): ĠSecondary Bot Response Ġ= ĊĠĠĠĠĠĠĠ ĠSecondary Bot No Response ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġstatus Ġ= ĠNOT _ AVAILABLE , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠmetaData Ġ= Ġrequest . metadata Ġ?: ĠO rche stration MetaData ( Player Id (" unknown "), Ġtarget . bot Id , ĠPlayer Id (" orche strator ")) ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠ Ġopen Ġfun Ġresume Orche stration ( request : ĠResume Orche stration Request ): ĠSecondary Bot Response Ġ= ĊĠĠĠĠĠĠĠ ĠSecondary Bot No Response ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġstatus Ġ= ĠEND , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠmetaData Ġ= Ġrequest . metadata ĊĠĠĠĠĠĠĠ Ġ) Ċ } Ċ