typedef void __fastcall (__closure *TServerReconnectEvent)(System::TObject* Sender, bool IsEncrypted, const System::UnicodeString ConnectAddress, System::TObject* UserData)