* @package oat\taoProctoring */ interface TestSessionConnectivityStatusService { const SERVICE_ID = 'taoProctoring/TestSessionConnectivityStatusService'; /** * Whether user is online * @param string $sessionId session * @return bool */ public function isOnline($sessionId); /** * @param $sessionId * @return int null|timestamp */ public function getLastOnline($sessionId); /** * Allow us to know if we should call the isOnline method * @return bool */ public function hasOnlineMode(); }