diff --git a/samples_2_X/callback/CallbackControllerU.pas b/samples_2_X/callback/CallbackControllerU.pas deleted file mode 100644 index 3841f6a3f..000000000 --- a/samples_2_X/callback/CallbackControllerU.pas +++ /dev/null @@ -1,53 +0,0 @@ -unit CallbackControllerU; - -interface - -uses - MVCFramework, - MVCFramework.Commons, - MVCFramework.Logger; - -type - - [MVCPath('/')] - TCallbackController = class(TMVCController) - public - [MVCPath('/login/($username)')] - // this is only for test!!!! - procedure Login(CTX: TWebContext); - - [MVCPath('/logout')] - // this is only for test!!!! - procedure Logout(CTX: TWebContext); - - [MVCPath('/')] - procedure Index(CTX: TWebContext); - - end; - -implementation - -uses - system.ioutils, - system.Classes, - system.SysUtils, - system.Types; - -{ TCallbackController } - -procedure TCallbackController.Index(CTX: TWebContext); -begin - Redirect('/callbackdemo.html'); -end; - -procedure TCallbackController.Login(CTX: TWebContext); -begin - CTX.Session['username'] := CTX.Request.Params['username']; -end; - -procedure TCallbackController.Logout(CTX: TWebContext); -begin - CTX.SessionStop(false); -end; - -end. diff --git a/samples_2_X/callback/CallbackDemo.dpr b/samples_2_X/callback/CallbackDemo.dpr deleted file mode 100644 index 8daf0e64b..000000000 --- a/samples_2_X/callback/CallbackDemo.dpr +++ /dev/null @@ -1,59 +0,0 @@ -program CallbackDemo; - -{$APPTYPE CONSOLE} - -uses - System.SysUtils, - Winapi.Windows, - Winapi.ShellAPI, - IdHTTPWebBrokerBridge, - Web.WebReq, - Web.WebBroker, - MVCFramework, - WebModuleUnit1 in 'WebModuleUnit1.pas' {WebModule1: TWebModule}, - CallbackControllerU in 'CallbackControllerU.pas', - StompClient in '..\..\lib\delphistompclient\StompClient.pas', - MVCFramework.MessagingController in '..\..\sources\MVCFramework.MessagingController.pas'; - -{$R *.res} - -procedure RunServer(APort: Integer); -var - LInputRecord: TInputRecord; - LEvent : DWord; - LHandle : THandle; - LServer : TIdHTTPWebBrokerBridge; -begin - Writeln(Format('Starting HTTP Server or port %d', [APort])); - LServer := TIdHTTPWebBrokerBridge.Create(nil); - try - LServer.DefaultPort := APort; - LServer.Active := True; - Writeln('Press ESC to stop the server'); - ShellExecute(0, 'open', 'http://localhost:3000', nil, nil, SW_SHOW); - LHandle := GetStdHandle(STD_INPUT_HANDLE); - while True do - begin - Win32Check(ReadConsoleInput(LHandle, LInputRecord, 1, LEvent)); - if (LInputRecord.EventType = KEY_EVENT) and - LInputRecord.Event.KeyEvent.bKeyDown and - (LInputRecord.Event.KeyEvent.wVirtualKeyCode = VK_ESCAPE) then - break; - end; - EnterInShutdownState; // required for a "clean" stop of messaging extensions - finally - LServer.Free; - end; -end; - -begin - try - if WebRequestHandler <> nil then - WebRequestHandler.WebModuleClass := WebModuleClass; - RunServer(3000); - except - on E: Exception do - Writeln(E.ClassName, ': ', E.Message); - end - -end. diff --git a/samples_2_X/callback/CallbackDemo.dproj b/samples_2_X/callback/CallbackDemo.dproj deleted file mode 100644 index c06a27643..000000000 --- a/samples_2_X/callback/CallbackDemo.dproj +++ /dev/null @@ -1,541 +0,0 @@ - - - {34192016-9C25-4694-B894-8D90CD38241E} - 18.2 - VCL - CallbackDemo.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - 1031 - CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= - ..\..\sources;..\..\lib\delphistompclient;..\..\lib\loggerpro;..\..\lib\dmustache;$(DCC_UnitSearchPath) - None - $(BDS)\bin\delphi_PROJECTICON.ico - CallbackDemo - $(BDS)\bin\delphi_PROJECTICNS.icns - System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - 1033 - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - IndyIPClient;AnyDAC_PhysADS_D18;AnyDAC_PhysODBC_D18;AnyDAC_GUIxForms_D18;NxGridDsgn_dxe3;DBXSqliteDriver;AnyDAC_ComI_D18;AnyDAC_PhysTDBX_D18;tmswizdXE4;frxDB18;fmx;TreeViewPresenter;IndySystem;TeeDB;frx18;AnyDAC_PhysIB_D18;inetdbbde;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapServer;sample01adapters;FrameViewerXE4;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;NxDBGridDsgn_dxe3;DataBindingsVCL180;vcldb;vcldsnap;AnyDAC_PhysMSAcc_D18;DBXDb2Driver;LabelLinkAction;IocpXE4;DBXOracleDriver;CustomIPTransport;NxDBGridRun_dxe3;vclribbon;dsnap;IndyIPServer;AnyDAC_PhysPg_D18;fmxase;vcl;IndyCore;IndyIPCommon;CloudService;DBXMSSQLDriver;FmxTeeUI;CodeSiteExpressPkg;AnyDAC_PhysMSSQL_D18;AnyDAC_PhysOracle_D18;inetdbxpress;webdsnap;AnyDAC_PhysMySQL_D18;NxCollectionRun_dxe3;adortl;CustomAdaptersMDPackage;AnyDAC_Phys_D18;NxCollectionDsgn_dxe3;NxGridRun_dxe3;NxCommonDsgn_dxe3;AnyDAC_Comp_D18;NxCommonRun_dxe3;bindcompfmx;tmsdXE4;BPAdapters;vcldbx;TextPkg;rtl;dbrtl;DbxClientDriver;bindcomp;inetdb;Tee;DataBindings;DBXOdbcDriver;NxAddonsRun_dxe3;dorm_runtime_xe4;xmlrtl;svnui;ibxpress;NxSheetRun_dxe3;IndyProtocols;DBXMySQLDriver;frxe18;vclactnband;bindengine;soaprtl;bindcompdbx;FMXTee;TeeUI;bindcompvcl;vclie;vcltouch;AnyDAC_PhysASA_D18;tmsexdXE4;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;NxInspectorRun_dxe3;dsnapcon;DBXFirebirdDriver;AnyDAC_PhysSQLITE_D18;inet;tmsxlsdXE4;fmxobj;vclx;svn;DBXSybaseASADriver;fmxdae;NxInspectorDsgn_dxe3;bdertl;VirtualTreesR;dbexpress;DataSnapIndy10ServerTransport;AnyDAC_PhysDb2_D18;$(DCC_UsePackage) - - - IndyIPClient;AnyDAC_PhysADS_D18;AnyDAC_PhysODBC_D18;AnyDAC_GUIxForms_D18;NxGridDsgn_dxe3;DBXSqliteDriver;AnyDAC_ComI_D18;AnyDAC_PhysTDBX_D18;fmx;TreeViewPresenter;IndySystem;TeeDB;AnyDAC_PhysIB_D18;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapServer;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;NxDBGridDsgn_dxe3;vcldb;vcldsnap;AnyDAC_PhysMSAcc_D18;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;NxDBGridRun_dxe3;vclribbon;dsnap;IndyIPServer;AnyDAC_PhysPg_D18;fmxase;vcl;IndyCore;IndyIPCommon;CloudService;DBXMSSQLDriver;FmxTeeUI;AnyDAC_PhysMSSQL_D18;AnyDAC_PhysOracle_D18;inetdbxpress;webdsnap;AnyDAC_PhysMySQL_D18;NxCollectionRun_dxe3;adortl;AnyDAC_Phys_D18;NxCollectionDsgn_dxe3;NxGridRun_dxe3;NxCommonDsgn_dxe3;AnyDAC_Comp_D18;NxCommonRun_dxe3;bindcompfmx;rtl;dbrtl;DbxClientDriver;bindcomp;inetdb;Tee;DataBindings;DBXOdbcDriver;NxAddonsRun_dxe3;xmlrtl;ibxpress;NxSheetRun_dxe3;IndyProtocols;DBXMySQLDriver;vclactnband;bindengine;soaprtl;bindcompdbx;FMXTee;TeeUI;bindcompvcl;vclie;vcltouch;AnyDAC_PhysASA_D18;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;NxInspectorRun_dxe3;dsnapcon;DBXFirebirdDriver;AnyDAC_PhysSQLITE_D18;inet;fmxobj;vclx;DBXSybaseASADriver;fmxdae;NxInspectorDsgn_dxe3;VirtualTreesR;dbexpress;DataSnapIndy10ServerTransport;AnyDAC_PhysDb2_D18;$(DCC_UsePackage) - - - CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= - 1031 - None - DEBUG;$(DCC_Define) - true - false - true - true - true - - - 1033 - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - -
WebModule1
- TWebModule -
- - - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - -
- - Delphi.Personality.12 - - - - - CallbackDemo.dpr - - - False - False - 1 - 0 - 0 - 0 - False - False - False - False - False - 1040 - 1252 - - - - - 1.0.0.0 - - - - - - 1.0.0.0 - - - - - - - - - - - - - - - - - - Microsoft Office 2000 Beispiele für gekapselte Komponenten für Automatisierungsserver - Microsoft Office XP Beispiele für gekapselte Komponenten für Automation Server - - - - - - CallbackDemo.exe - true - - - - - 1 - - - Contents\MacOS - 0 - - - - - classes - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - library\lib\armeabi - 1 - - - - - library\lib\mips - 1 - - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable - 1 - - - - - res\values - 1 - - - - - res\drawable - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - res\drawable-ldpi - 1 - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-hdpi - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-large - 1 - - - - - res\drawable-xlarge - 1 - - - - - 1 - - - 1 - - - 0 - - - - - 1 - .framework - - - 0 - - - - - 1 - .dylib - - - 0 - .dll;.bpl - - - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 0 - .bpl - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - - - - 1 - - - 1 - - - 1 - - - - - - - Contents\Resources - 1 - - - - - library\lib\armeabi-v7a - 1 - - - 1 - - - 1 - - - 1 - - - 1 - - - 1 - - - 0 - - - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - - - - - - - - - True - False - - - 12 - - - - -
diff --git a/samples_2_X/callback/CallbackDemo.res b/samples_2_X/callback/CallbackDemo.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/callback/CallbackDemo.res and /dev/null differ diff --git a/samples_2_X/callback/WebModuleUnit1.dfm b/samples_2_X/callback/WebModuleUnit1.dfm deleted file mode 100644 index 72e15e651..000000000 --- a/samples_2_X/callback/WebModuleUnit1.dfm +++ /dev/null @@ -1,14 +0,0 @@ -object WebModule1: TWebModule1 - OldCreateOrder = False - OnCreate = WebModuleCreate - OnDestroy = WebModuleDestroy - Actions = < - item - Default = True - Name = 'DefaultHandler' - PathInfo = '/' - OnAction = WebModule1DefaultHandlerAction - end> - Height = 230 - Width = 415 -end diff --git a/samples_2_X/callback/WebModuleUnit1.pas b/samples_2_X/callback/WebModuleUnit1.pas deleted file mode 100644 index 1acda7e88..000000000 --- a/samples_2_X/callback/WebModuleUnit1.pas +++ /dev/null @@ -1,56 +0,0 @@ -unit WebModuleUnit1; - -interface - -uses System.SysUtils, - System.Classes, - Web.HTTPApp, - MVCFramework; - -type - TWebModule1 = class(TWebModule) - procedure WebModule1DefaultHandlerAction(Sender: TObject; Request: TWebRequest; - Response: TWebResponse; var Handled: Boolean); - procedure WebModuleCreate(Sender: TObject); - procedure WebModuleDestroy(Sender: TObject); - - private - MVC: TMVCEngine; - - { Private declarations } - public - { Public declarations } - end; - -var - WebModuleClass: TComponentClass = TWebModule1; - -implementation - -uses CallbackControllerU, MVCFramework.Commons; - -{$R *.dfm} - -procedure TWebModule1.WebModule1DefaultHandlerAction(Sender: TObject; Request: TWebRequest; - Response: TWebResponse; var Handled: Boolean); -begin - Response.Content := 'Web Server Application'; -end; - -procedure TWebModule1.WebModuleCreate(Sender: TObject); -begin - MVC := TMVCEngine.Create(self, - procedure(Config: TMVCConfig) - begin - Config[TMVCConfigKey.Messaging] := 'true'; - end); - MVC.AddController(TCallbackController); - MVC.Config['document_root'] := ExtractFilePath(GetModuleName(HInstance)) + '..\..\document_root'; -end; - -procedure TWebModule1.WebModuleDestroy(Sender: TObject); -begin - MVC.Free; -end; - -end. diff --git a/samples_2_X/callback/document_root/callbackdemo.html b/samples_2_X/callback/document_root/callbackdemo.html deleted file mode 100644 index a07e3d7ed..000000000 --- a/samples_2_X/callback/document_root/callbackdemo.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - -

DMVCFramework - Callback DEMO

-
- - -
- -
-
- -
- - - -
- -
- - - - - \ No newline at end of file diff --git a/samples_2_X/jwtplayground/jwtplayground.dpr b/samples_2_X/jwtplayground/jwtplayground.dpr deleted file mode 100644 index 7633c84be..000000000 --- a/samples_2_X/jwtplayground/jwtplayground.dpr +++ /dev/null @@ -1,98 +0,0 @@ -program jwtplayground; - -{$APPTYPE CONSOLE} - -{$R *.res} - - -uses - System.SysUtils, - System.NetEncoding, - Soap.EncdDecd, - System.JSON, - MVCFramework.HMAC in '..\..\sources\MVCFramework.HMAC.pas', - MVCFramework.JWT in '..\..\sources\MVCFramework.JWT.pas', - MVCFramework.Commons in '..\..\sources\MVCFramework.Commons.pas'; - -const - HMAC_SECRET = 'myk3y'; - -function IsValidToken(const Token: String; const Key: String): Boolean; -var - lPieces: TArray; - lJHeader: TJSONObject; - lJAlg: TJSONString; - lAlgName: string; - lJPayload: TJSONObject; -begin - lPieces := Token.Split(['.']); - lJHeader := TJSONObject.ParseJSONValue(B64Decode(lPieces[0])) as TJSONObject; - try - if not Assigned(lJHeader) then - Exit(False); - - lJPayload := TJSONObject.ParseJSONValue(B64Decode(lPieces[1])) as TJSONObject; - try - if not Assigned(lJPayload) then - Exit(False); - - if not lJHeader.TryGetValue('alg', lJAlg) then - Exit(False); - - lAlgName := lJAlg.Value; - Result := - Token = lPieces[0] + '.' + lPieces[1] + '.' + - B64Encode( - HMAC(lAlgName, lPieces[0] + '.' + lPieces[1], Key) - ); - finally - lJPayload.Free; - end; - finally - lJHeader.Free; - end; -end; - -procedure Main; -var - lHeader, lPayload: TJSONObject; - lHeaderEncoded, lPayloadEncoded, lToken, lHash: String; - lBytes: TBytes; -begin - lHeader := TJSONObject.Create; - try - lPayload := TJSONObject.Create; - try - lHeader.AddPair('alg', 'HS256').AddPair('typ', 'JWT'); - lPayload.AddPair('sub', 'daniele').AddPair('name', 'Daniele Teti'); - - lHeaderEncoded := B64Encode(lHeader.ToJSON); - lPayloadEncoded := B64Encode(lPayload.ToJSON); - lToken := lHeaderEncoded + '.' + lPayloadEncoded; - lBytes := HMAC('HS256', lToken, HMAC_SECRET); - lHash := B64Encode(lBytes); - lToken := lToken + '.' + lHash; - WriteLn(lToken); - - if IsValidToken(lToken, HMAC_SECRET) then - WriteLn('Token is valid') - else - WriteLn('Token is NOT valid'); - finally - lPayload.Free; - end; - finally - lHeader.Free; - end; -end; - -begin - try - Main; - Readln; - except - on E: Exception do - WriteLn(E.ClassName, ': ', E.Message); - end; - -end. diff --git a/samples_2_X/jwtplayground/jwtplayground.dproj b/samples_2_X/jwtplayground/jwtplayground.dproj deleted file mode 100644 index bc0595029..000000000 --- a/samples_2_X/jwtplayground/jwtplayground.dproj +++ /dev/null @@ -1,620 +0,0 @@ - - - {5AB433BB-74B2-4E5B-83EC-5DEB59D53827} - 18.2 - None - jwtplayground.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) - ..\..\lib\delphistompclient;..\..\lib\loggerpro;..\..\lib\dmustache;$(DCC_UnitSearchPath) - 1040 - jwtplayground - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - android-support-v4.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - DBXSqliteDriver;RESTComponents;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;SampleListViewRatingsAppearancePackage;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - - - DBXSqliteDriver;RESTComponents;fmxase;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;SampleListViewRatingsAppearancePackage;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - - - DBXSqliteDriver;RESTComponents;fmxase;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;SampleListViewRatingsAppearancePackage;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - - - DBXSqliteDriver;RESTComponents;fmxase;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;SampleListViewRatingsAppearancePackage;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IupOrmProject;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - - - 1033 - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - true - DBXSqliteDriver;RESTComponents;fmxase;DBXDb2Driver;DBXInterBaseDriver;vclactnband;RosiComp2010;vclFireDAC;emsclientfiredac;tethering;svnui;DataSnapFireDAC;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;PngComponentsD;vcltouch;vcldb;bindcompfmx;svn;DBXOracleDriver;rDBGridSorters;inetdb;VirtualTreesDR;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;DelphiCookbookListViewAppearance;frx24;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;SampleListViewRatingsAppearancePackage;vclie;bindengine;DBXMySQLDriver;CloudService;FireDACOracleDriver;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;IupOrmProject;IndyIPCommon;bindcompdbx;vcl;IndyIPServer;DBXSybaseASEDriver;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;ChromeTabs_R;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;DBXSybaseASADriver;frxTee24;CustomIPTransport;vcldsnap;SynEditDR;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;frxe24;TeeUI;TGridExtendedColumns;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;frxDB24;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;inetdbxpress;FireDACMongoDBDriver;DataSnapServerMidas;$(DCC_UsePackage) - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - - - true - DBXSqliteDriver;RESTComponents;fmxase;DBXDb2Driver;DBXInterBaseDriver;vclactnband;vclFireDAC;emsclientfiredac;tethering;DataSnapFireDAC;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;PngComponentsD;vcltouch;vcldb;bindcompfmx;DBXOracleDriver;inetdb;VirtualTreesDR;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;vclie;bindengine;DBXMySQLDriver;CloudService;FireDACOracleDriver;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;vcl;IndyIPServer;DBXSybaseASEDriver;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;FireDACDSDriver;rtl;ibxbindings;DbxClientDriver;DBXSybaseASADriver;CustomIPTransport;vcldsnap;SynEditDR;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;TeeUI;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;inetdbxpress;FireDACMongoDBDriver;DataSnapServerMidas;$(DCC_UsePackage) - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - (None) - 1033 - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - - - - Delphi.Personality.12 - Application - - - - jwtplayground.dpr - - - Embarcadero C++Builder Office 2000 Servers Package - Embarcadero C++Builder Office XP Servers Package - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components - - - - - - true - - - - - true - - - - - true - - - - - true - - - - - jwtplayground.exe - true - - - - - 1 - - - 1 - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - res\drawable-hdpi - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - - - - - - - - - False - False - False - False - True - False - - - 12 - - - - - diff --git a/samples_2_X/jwtplayground/jwtplayground.res b/samples_2_X/jwtplayground/jwtplayground.res deleted file mode 100644 index 743599575..000000000 Binary files a/samples_2_X/jwtplayground/jwtplayground.res and /dev/null differ diff --git a/samples_2_X/messaging_client/MessagingSamples.groupproj b/samples_2_X/messaging_client/MessagingSamples.groupproj deleted file mode 100644 index 0066bd62f..000000000 --- a/samples_2_X/messaging_client/MessagingSamples.groupproj +++ /dev/null @@ -1,72 +0,0 @@ - - - {C1FDC7B5-A18A-4751-9F41-E38D8181EDC8} - - - - - - - - - - - - - - - - - Default.Personality.12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples_2_X/messaging_client/messaging_client_sample.res b/samples_2_X/messaging_client/messaging_client_sample.res deleted file mode 100644 index 743599575..000000000 Binary files a/samples_2_X/messaging_client/messaging_client_sample.res and /dev/null differ diff --git a/samples_2_X/messaging_client/queue_messaging_consumer.dpr b/samples_2_X/messaging_client/queue_messaging_consumer.dpr deleted file mode 100644 index 872fbf07b..000000000 --- a/samples_2_X/messaging_client/queue_messaging_consumer.dpr +++ /dev/null @@ -1,66 +0,0 @@ -program queue_messaging_consumer; - -{$APPTYPE CONSOLE} -{$R *.res} - -uses - System.SysUtils, MVCFramework.RESTClient, System.JSON, - Winapi.Windows, MVCFramework.Commons; - -procedure Main; -var - LCli: TRESTClient; - LRes: IRESTResponse; - LMsg: string; - LMyClientID: string; -begin - { - USAGE PATTERN - POST /messages/clients/ - POST /messages/subscriptions/queue/ - POST /messages/subscriptions/queue/ - ... - POST /messages/subscriptions/queue/ - GET /messages (this line can return 200 OK or 408 REQUEST TIMEOUT, however there is always a message body) - - to unsubscribe - DELETE /messages/subscriptions/queue/ - DELETE /messages/subscriptions/queue/ - ... - DELETE /messages/subscriptions/queue/ - } - - LMyClientID := 'my-unique-client-id' + GetTickCount.ToString; - LCli := TRESTClient.Create('localhost', 9999); - try - LCli.ReadTimeout(-1); - LRes := LCli.doPOST('/messages', ['clients', LMyClientID]); - if LRes.ResponseCode <> HTTP_STATUS.OK then - WriteLn('Cannot set client id. ' + LRes.ResponseText); - LRes := LCli.doPOST('/messages/subscriptions/queue', ['queue1']); - if LRes.ResponseCode <> HTTP_STATUS.OK then - WriteLn('Cannot subscribe. ' + LRes.ResponseText); - while True do - begin - WriteLn('Waiting on GET /messages'); - LRes := LCli.doGET('/messages', []); - if LRes.ResponseCode = HTTP_STATUS.RequestTimeout then - WriteLn('TIMEOUT: ' + LRes.BodyAsString) - else - WriteLn(LRes.BodyAsString); - end; - finally - LCli.Free; - end; -end; - -begin - try - Main; - except - on E: Exception do - WriteLn(E.ClassName, ': ', E.Message); - end; - readln; - -end. diff --git a/samples_2_X/messaging_client/queue_messaging_consumer.dproj b/samples_2_X/messaging_client/queue_messaging_consumer.dproj deleted file mode 100644 index 2d223f843..000000000 --- a/samples_2_X/messaging_client/queue_messaging_consumer.dproj +++ /dev/null @@ -1,634 +0,0 @@ - - - {6C146EF8-C032-4A1F-9F28-C91EEA874620} - 18.2 - None - queue_messaging_consumer.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - $(BDS)\bin\delphi_PROJECTICNS.icns - $(BDS)\bin\delphi_PROJECTICON.ico - queue_messaging_consumer - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - android-support-v4.dex.jar;apk-expansion.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - - - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;DBXOracleDriver;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDACMSSQLDriver;FireDAC;DBXInformixDriver;DataSnapServerMidas;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - - - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - true - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - JvGlobus;JvMM;lmdrttools;JvManagedThreads;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;FMXfs21;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;JvDlgs;IndySystem;frxe21;TeeDB;tethering;JvCrypt;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;frx21;DataSnapCommon;GR32_DSGN_RSXE5;JvNet;DataSnapProviderClient;JvDotNetCtrls;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;JvXPCtrls;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;FMXfsDB21;FMXfsTee21;DBXOracleDriver;CustomIPTransport;JvCore;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;JvAppFrm;soapserver;JvDB;JvRuntimeDesign;PipesRunTime;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;JclDeveloperTools;JvDocking;adortl;JvWizards;SimpleGraphPackage;lmdrtshell;lmdrtcore;FireDACASADriver;JvHMI;lmdrtthemes;bindcompfmx;JvBands;TextPkg;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;FMXfrx21;rtl;dbrtl;DbxClientDriver;FMXfrxDB21;frxTee21;FireDACCommon;bindcomp;inetdb;JvPluginSystem;lmdrtgrid;lmdrtbar;Tee;JclContainers;lmdrtstorage;DBXOdbcDriver;frxDB21;vclFireDAC;JvCmp;JvSystem;xmlrtl;DataSnapNativeClient;svnui;ibxpress;JvControls;JvTimeFramework;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;DTComponentsDS;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;JvStdCtrls;JvCustom;Jcl;vclie;JvJans;JvPageComps;JvPrintPreview;adgrmXE7;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;GR32_RSXE5;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;JclVcl;FireDACMySQLDriver;soapmidas;vclx;JvPascalInterpreter;lmdrtfx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - 1033 - - - true - lmdrttools;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;IndySystem;TeeDB;tethering;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;lmdrtshell;lmdrtcore;FireDACASADriver;lmdrtthemes;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;lmdrtgrid;lmdrtbar;Tee;lmdrtstorage;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;FireDACMySQLDriver;soapmidas;vclx;lmdrtfx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - - - - Delphi.Personality.12 - Application - - - - queue_messaging_consumer.dpr - - - - - - true - - - - - true - - - - - true - - - - - true - - - - - queue_messaging_consumer.exe - true - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable-hdpi - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - False - False - False - False - False - True - False - - - 12 - - - - - diff --git a/samples_2_X/messaging_client/queue_messaging_consumer.res b/samples_2_X/messaging_client/queue_messaging_consumer.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/messaging_client/queue_messaging_consumer.res and /dev/null differ diff --git a/samples_2_X/messaging_client/queue_messaging_producer.dpr b/samples_2_X/messaging_client/queue_messaging_producer.dpr deleted file mode 100644 index 29939242f..000000000 --- a/samples_2_X/messaging_client/queue_messaging_producer.dpr +++ /dev/null @@ -1,52 +0,0 @@ -program queue_messaging_producer; - -{$APPTYPE CONSOLE} -{$R *.res} - -uses - System.SysUtils, MVCFramework.RESTClient, System.JSON, MVCFramework.Commons, - Winapi.Windows; - -procedure Main; -var - LCli: TRESTClient; - LRes: IRESTResponse; - LMsg: TJSONObject; - LStrMsg, LMyClientID: string; -begin - { - USAGE PATTERN - POST /messages/clients/ - POST /messages/queues/ (message in the request body as json object) - } - - LMyClientID := 'my-unique-client-id'; - LCli := TRESTClient.Create('localhost', 9999); - try - LCli.ReadTimeout(1); - LRes := LCli.doPOST('/messages', ['clients', LMyClientID]); - LStrMsg := 'FIRST MESSAGE'; - while True do - begin - LMsg := TJSONObject.Create(TJSONPair.Create('msg', LStrMsg)); // ;;GetTickCount.ToString)); - WriteLn('Writing on the queue: ' + LMsg.ToJSON); - LRes := LCli.doPOST('/messages', ['queue', 'queue1'], LMsg); - WriteLn(LRes.ResponseCode, LRes.ResponseText); - write('Send Message: '); - ReadLn(LStrMsg); - end; - finally - LCli.Free; - end; -end; - -begin - try - Main; - except - on E: Exception do - WriteLn(E.ClassName, ': ', E.Message); - end; - ReadLn; - -end. diff --git a/samples_2_X/messaging_client/queue_messaging_producer.dproj b/samples_2_X/messaging_client/queue_messaging_producer.dproj deleted file mode 100644 index 7b7d3cac3..000000000 --- a/samples_2_X/messaging_client/queue_messaging_producer.dproj +++ /dev/null @@ -1,634 +0,0 @@ - - - {1C87949A-8BE1-4EB2-A776-8D95AA246479} - 18.2 - None - queue_messaging_producer.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - $(BDS)\bin\delphi_PROJECTICNS.icns - $(BDS)\bin\delphi_PROJECTICON.ico - queue_messaging_producer - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - android-support-v4.dex.jar;apk-expansion.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - - - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;DBXOracleDriver;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDACMSSQLDriver;FireDAC;DBXInformixDriver;DataSnapServerMidas;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - - - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - true - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - JvGlobus;JvMM;lmdrttools;JvManagedThreads;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;FMXfs21;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;JvDlgs;IndySystem;frxe21;TeeDB;tethering;JvCrypt;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;frx21;DataSnapCommon;GR32_DSGN_RSXE5;JvNet;DataSnapProviderClient;JvDotNetCtrls;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;JvXPCtrls;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;FMXfsDB21;FMXfsTee21;DBXOracleDriver;CustomIPTransport;JvCore;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;JvAppFrm;soapserver;JvDB;JvRuntimeDesign;PipesRunTime;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;JclDeveloperTools;JvDocking;adortl;JvWizards;SimpleGraphPackage;lmdrtshell;lmdrtcore;FireDACASADriver;JvHMI;lmdrtthemes;bindcompfmx;JvBands;TextPkg;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;FMXfrx21;rtl;dbrtl;DbxClientDriver;FMXfrxDB21;frxTee21;FireDACCommon;bindcomp;inetdb;JvPluginSystem;lmdrtgrid;lmdrtbar;Tee;JclContainers;lmdrtstorage;DBXOdbcDriver;frxDB21;vclFireDAC;JvCmp;JvSystem;xmlrtl;DataSnapNativeClient;svnui;ibxpress;JvControls;JvTimeFramework;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;DTComponentsDS;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;JvStdCtrls;JvCustom;Jcl;vclie;JvJans;JvPageComps;JvPrintPreview;adgrmXE7;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;GR32_RSXE5;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;JclVcl;FireDACMySQLDriver;soapmidas;vclx;JvPascalInterpreter;lmdrtfx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - 1033 - - - true - lmdrttools;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;IndySystem;TeeDB;tethering;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;lmdrtshell;lmdrtcore;FireDACASADriver;lmdrtthemes;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;lmdrtgrid;lmdrtbar;Tee;lmdrtstorage;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;FireDACMySQLDriver;soapmidas;vclx;lmdrtfx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - - - - Delphi.Personality.12 - Application - - - - queue_messaging_producer.dpr - - - - - - true - - - - - queue_messaging_producer.exe - true - - - - - true - - - - - true - - - - - true - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable-hdpi - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - False - False - False - False - False - True - False - - - 12 - - - - - diff --git a/samples_2_X/messaging_client/queue_messaging_producer.res b/samples_2_X/messaging_client/queue_messaging_producer.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/messaging_client/queue_messaging_producer.res and /dev/null differ diff --git a/samples_2_X/messaging_client/topic_messaging_consumer.dpr b/samples_2_X/messaging_client/topic_messaging_consumer.dpr deleted file mode 100644 index 3667e45da..000000000 --- a/samples_2_X/messaging_client/topic_messaging_consumer.dpr +++ /dev/null @@ -1,66 +0,0 @@ -program topic_messaging_consumer; - -{$APPTYPE CONSOLE} -{$R *.res} - -uses - System.SysUtils, MVCFramework.RESTClient, System.JSON, - Winapi.Windows, MVCFramework.Commons; - -procedure Main; -var - LCli: TRESTClient; - LRes: IRESTResponse; - LMsg: string; - LMyClientID: string; -begin - { - USAGE PATTERN - POST /messages/clients/ - POST /messages/subscriptions/topic/ - POST /messages/subscriptions/topic/ - ... - POST /messages/subscriptions/topic/ - GET /messages (this line can return 200 OK or 408 REQUEST TIMEOUT, however there is always a message body) - - to unsubscribe - DELETE /messages/subscriptions/topic/ - DELETE /messages/subscriptions/topic/ - ... - DELETE /messages/subscriptions/topic/ - } - - LMyClientID := 'my-unique-client-id' + GetTickCount.ToString; - LCli := TRESTClient.Create('localhost', 9999); - try - LCli.ReadTimeout(-1); - LRes := LCli.doPOST('/messages', ['clients', LMyClientID]); - if LRes.ResponseCode <> HTTP_STATUS.OK then - WriteLn('Cannot set client id. ' + LRes.ResponseText); - LRes := LCli.doPOST('/messages/subscriptions/topic', ['topic1']); - if LRes.ResponseCode <> HTTP_STATUS.OK then - WriteLn('Cannot subscribe. ' + LRes.ResponseText); - while True do - begin - WriteLn('Waiting on GET /messages'); - LRes := LCli.doGET('/messages', []); - if LRes.ResponseCode = HTTP_STATUS.RequestTimeout then - WriteLn('TIMEOUT: ' + LRes.BodyAsString) - else - WriteLn(LRes.BodyAsString); - end; - finally - LCli.Free; - end; -end; - -begin - try - Main; - except - on E: Exception do - WriteLn(E.ClassName, ': ', E.Message); - end; - readln; - -end. diff --git a/samples_2_X/messaging_client/topic_messaging_consumer.dproj b/samples_2_X/messaging_client/topic_messaging_consumer.dproj deleted file mode 100644 index 36ccdb297..000000000 --- a/samples_2_X/messaging_client/topic_messaging_consumer.dproj +++ /dev/null @@ -1,634 +0,0 @@ - - - {89B99B4E-0DE8-42A5-857E-2F432616330B} - 18.2 - None - topic_messaging_consumer.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - $(BDS)\bin\delphi_PROJECTICNS.icns - $(BDS)\bin\delphi_PROJECTICON.ico - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - topic_messaging_consumer - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - android-support-v4.dex.jar;apk-expansion.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;DBXOracleDriver;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDACMSSQLDriver;FireDAC;DBXInformixDriver;DataSnapServerMidas;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - - - 1033 - JvGlobus;JvMM;lmdrttools;JvManagedThreads;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;FMXfs21;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;JvDlgs;IndySystem;frxe21;TeeDB;tethering;JvCrypt;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;frx21;DataSnapCommon;GR32_DSGN_RSXE5;JvNet;DataSnapProviderClient;JvDotNetCtrls;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;JvXPCtrls;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;FMXfsDB21;FMXfsTee21;DBXOracleDriver;CustomIPTransport;JvCore;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;JvAppFrm;soapserver;JvDB;JvRuntimeDesign;PipesRunTime;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;JclDeveloperTools;JvDocking;adortl;JvWizards;SimpleGraphPackage;lmdrtshell;lmdrtcore;FireDACASADriver;JvHMI;lmdrtthemes;bindcompfmx;JvBands;TextPkg;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;FMXfrx21;rtl;dbrtl;DbxClientDriver;FMXfrxDB21;frxTee21;FireDACCommon;bindcomp;inetdb;JvPluginSystem;lmdrtgrid;lmdrtbar;Tee;JclContainers;lmdrtstorage;DBXOdbcDriver;frxDB21;vclFireDAC;JvCmp;JvSystem;xmlrtl;DataSnapNativeClient;svnui;ibxpress;JvControls;JvTimeFramework;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;DTComponentsDS;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;JvStdCtrls;JvCustom;Jcl;vclie;JvJans;JvPageComps;JvPrintPreview;adgrmXE7;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;GR32_RSXE5;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;JclVcl;FireDACMySQLDriver;soapmidas;vclx;JvPascalInterpreter;lmdrtfx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - - - lmdrttools;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;IndySystem;TeeDB;tethering;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;lmdrtshell;lmdrtcore;FireDACASADriver;lmdrtthemes;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;lmdrtgrid;lmdrtbar;Tee;lmdrtstorage;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;FireDACMySQLDriver;soapmidas;vclx;lmdrtfx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - - - - Delphi.Personality.12 - Application - - - - topic_messaging_consumer.dpr - - - - - - true - - - - - true - - - - - topic_messaging_consumer.exe - true - - - - - true - - - - - true - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable-hdpi - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - False - False - False - False - False - True - False - - - 12 - - - - - diff --git a/samples_2_X/messaging_client/topic_messaging_consumer.res b/samples_2_X/messaging_client/topic_messaging_consumer.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/messaging_client/topic_messaging_consumer.res and /dev/null differ diff --git a/samples_2_X/messaging_client/topic_messaging_producer.dpr b/samples_2_X/messaging_client/topic_messaging_producer.dpr deleted file mode 100644 index 2c8b6d219..000000000 --- a/samples_2_X/messaging_client/topic_messaging_producer.dpr +++ /dev/null @@ -1,52 +0,0 @@ -program topic_messaging_producer; - -{$APPTYPE CONSOLE} -{$R *.res} - -uses - System.SysUtils, MVCFramework.RESTClient, System.JSON, MVCFramework.Commons, - Winapi.Windows; - -procedure Main; -var - LCli: TRESTClient; - LRes: IRESTResponse; - LMsg: TJSONObject; - LStrMsg, LMyClientID: string; -begin - { - USAGE PATTERN - POST /messages/clients/ - POST /messages/queues/ (message in the request body as json object) - } - - LMyClientID := 'my-unique-client-id'; - LCli := TRESTClient.Create('localhost', 9999); - try - LCli.ReadTimeout(-1); - LRes := LCli.doPOST('/messages', ['clients', LMyClientID]); - LStrMsg := 'FIRST MESSAGE'; - while True do - begin - LMsg := TJSONObject.Create(TJSONPair.Create('msg', LStrMsg)); // ;;GetTickCount.ToString)); - WriteLn('Writing on the topic: ' + LMsg.ToJSON); - LRes := LCli.doPOST('/messages', ['topic', 'topic1'], LMsg); - WriteLn(LRes.ResponseCode, LRes.ResponseText); - write('Send Message: '); - ReadLn(LStrMsg); - end; - finally - LCli.Free; - end; -end; - -begin - try - Main; - except - on E: Exception do - WriteLn(E.ClassName, ': ', E.Message); - end; - ReadLn; - -end. diff --git a/samples_2_X/messaging_client/topic_messaging_producer.dproj b/samples_2_X/messaging_client/topic_messaging_producer.dproj deleted file mode 100644 index 3f9557648..000000000 --- a/samples_2_X/messaging_client/topic_messaging_producer.dproj +++ /dev/null @@ -1,634 +0,0 @@ - - - {39626FB5-9B19-44D5-A248-2B386E156978} - 18.2 - None - topic_messaging_producer.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - $(BDS)\bin\delphi_PROJECTICNS.icns - $(BDS)\bin\delphi_PROJECTICON.ico - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - topic_messaging_producer - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - android-support-v4.dex.jar;apk-expansion.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - true - $(MSBuildProjectName) - Base - true - iPhoneAndiPad - Debug - true - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage);$(DCC_UsePackage) - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes= - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;dsnapxml;bindcompfmx;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDAC;inet;soapmidas;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage) - - - FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;DBXOracleDriver;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDACMSSQLDriver;FireDAC;DBXInformixDriver;DataSnapServerMidas;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - - - 1033 - JvGlobus;JvMM;lmdrttools;JvManagedThreads;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;FMXfs21;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;JvDlgs;IndySystem;frxe21;TeeDB;tethering;JvCrypt;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;frx21;DataSnapCommon;GR32_DSGN_RSXE5;JvNet;DataSnapProviderClient;JvDotNetCtrls;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;JvXPCtrls;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;FMXfsDB21;FMXfsTee21;DBXOracleDriver;CustomIPTransport;JvCore;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;JvAppFrm;soapserver;JvDB;JvRuntimeDesign;PipesRunTime;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;JclDeveloperTools;JvDocking;adortl;JvWizards;SimpleGraphPackage;lmdrtshell;lmdrtcore;FireDACASADriver;JvHMI;lmdrtthemes;bindcompfmx;JvBands;TextPkg;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;FMXfrx21;rtl;dbrtl;DbxClientDriver;FMXfrxDB21;frxTee21;FireDACCommon;bindcomp;inetdb;JvPluginSystem;lmdrtgrid;lmdrtbar;Tee;JclContainers;lmdrtstorage;DBXOdbcDriver;frxDB21;vclFireDAC;JvCmp;JvSystem;xmlrtl;DataSnapNativeClient;svnui;ibxpress;JvControls;JvTimeFramework;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;DTComponentsDS;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;JvStdCtrls;JvCustom;Jcl;vclie;JvJans;JvPageComps;JvPrintPreview;adgrmXE7;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;GR32_RSXE5;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;JclVcl;FireDACMySQLDriver;soapmidas;vclx;JvPascalInterpreter;lmdrtfx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - - - lmdrttools;FireDACSqliteDriver;lmdrtdialog;FireDACDSDriver;DBXSqliteDriver;lmdrttoolsdb;lmdrttxtdb;FireDACPgDriver;lmdrtchart;fmx;IndySystem;TeeDB;tethering;lmdrttxt;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;lmdrtinspector;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;lmdrtweb;lmdrtprint;lmdrtsys;lmdrtchartdb;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;lmdrtrtfdb;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;lmdrtrtf;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;lmdrtdocking;lmdrtrtlx;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;lmdrtshell;lmdrtcore;FireDACASADriver;lmdrtthemes;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;lmdrtgrid;lmdrtbar;Tee;lmdrtstorage;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;lmdrtsearch;FireDACCommonDriver;vclactnband;bindengine;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;Intraweb;DataSnapConnectors;DataSnapServerMidas;lmdrtplugin;dsnapcon;DBXFirebirdDriver;inet;fmxobj;OpenCV210;FireDACMySQLDriver;soapmidas;vclx;lmdrtfx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;VirtualTreesR;lmdrtsearchdb;lmdrtl;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) - true - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - - - - Delphi.Personality.12 - Application - - - - topic_messaging_producer.dpr - - - - - - topic_messaging_producer.exe - true - - - - - true - - - - - true - - - - - true - - - - - true - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable-hdpi - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - False - False - False - False - False - True - False - - - 12 - - - - - diff --git a/samples_2_X/messaging_client/topic_messaging_producer.res b/samples_2_X/messaging_client/topic_messaging_producer.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/messaging_client/topic_messaging_producer.res and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/AndroidManifest.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/AndroidManifest.xml deleted file mode 100644 index f70015f3a..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/AndroidManifest.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient.vsr b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient.vsr deleted file mode 100644 index e82997de6..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient.vsr +++ /dev/null @@ -1,26 +0,0 @@ -EXPORTED { - global: - _NativeMain; - __rsrc_*; - __rstr_*; - dbkFCallWrapperAddr; - __dbk_fcall_wrapper; - _DbgExcNotify; - _Unwind_VRS_Get; - _Unwind_VRS_Set; - _Unwind_Complete; - _Unwind_Resume_or_Rethrow; - _Unwind_GetDataRelBase; - _Unwind_GetTextRelBase; - _Unwind_GetLanguageSpecificData; - _Unwind_GetRegionStart; - _BorUnwind_RaiseException; - _BorUnwind_Resume; - _UnwindCppFrame; - UnwindCppPersonalityCommon; - _Unwind_DeleteException; - TMethodImplementationIntercept; - ExecJNI; - ANativeActivity_onCreate; - local: *; -}; diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/AndroidManifest.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/AndroidManifest.xml deleted file mode 100644 index f70015f3a..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/AndroidManifest.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/classes/classes.dex b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/classes/classes.dex deleted file mode 100644 index f092d5807..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/classes/classes.dex and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/library/lib/armeabi-v7a/gdbserver b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/library/lib/armeabi-v7a/gdbserver deleted file mode 100644 index 74614f710..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/library/lib/armeabi-v7a/gdbserver and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-hdpi/ic_launcher.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 2850c82cb..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-large/splash_image.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-large/splash_image.png deleted file mode 100644 index babc829a5..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-large/splash_image.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-ldpi/ic_launcher.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-ldpi/ic_launcher.png deleted file mode 100644 index 6f594218f..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-ldpi/ic_launcher.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-mdpi/ic_launcher.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 9a6d89288..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-normal/splash_image.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-normal/splash_image.png deleted file mode 100644 index 7266612bd..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-normal/splash_image.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-small/splash_image.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-small/splash_image.png deleted file mode 100644 index 9a67bb33e..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-small/splash_image.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xhdpi/ic_launcher.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index fefe62edf..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xlarge/splash_image.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xlarge/splash_image.png deleted file mode 100644 index 72bd1918c..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xlarge/splash_image.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xxhdpi/ic_launcher.png b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 0abc131d0..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable/splash_image_def.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable/splash_image_def.xml deleted file mode 100644 index 90fc726c5..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/drawable/splash_image_def.xml +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/values/styles.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/values/styles.xml deleted file mode 100644 index 8a6563b12..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/PushNotificationsMobileClient/res/values/styles.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/classes.dex b/samples_2_X/pushnotifications_mobileclient/Android/Debug/classes.dex deleted file mode 100644 index f092d5807..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/Android/Debug/classes.dex and /dev/null differ diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/splash_image_def.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/splash_image_def.xml deleted file mode 100644 index 90fc726c5..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/splash_image_def.xml +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/samples_2_X/pushnotifications_mobileclient/Android/Debug/styles.xml b/samples_2_X/pushnotifications_mobileclient/Android/Debug/styles.xml deleted file mode 100644 index 8a6563b12..000000000 --- a/samples_2_X/pushnotifications_mobileclient/Android/Debug/styles.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/samples_2_X/pushnotifications_mobileclient/AndroidManifest.template.xml b/samples_2_X/pushnotifications_mobileclient/AndroidManifest.template.xml deleted file mode 100644 index b5936845c..000000000 --- a/samples_2_X/pushnotifications_mobileclient/AndroidManifest.template.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -<%uses-permission%> - - - -<%application-meta-data%> - <%services%> - - - - - - - - - - <%activity%> - <%receivers%> - - - diff --git a/samples_2_X/pushnotifications_mobileclient/MainFormU.fmx b/samples_2_X/pushnotifications_mobileclient/MainFormU.fmx deleted file mode 100644 index 6ae177316..000000000 --- a/samples_2_X/pushnotifications_mobileclient/MainFormU.fmx +++ /dev/null @@ -1,118 +0,0 @@ -object Form7: TForm7 - Left = 0 - Top = 0 - Caption = 'Form7' - ClientHeight = 506 - ClientWidth = 423 - FormFactor.Width = 320 - FormFactor.Height = 480 - FormFactor.Devices = [Desktop] - OnCreate = FormCreate - DesignerMasterStyle = 0 - object Panel1: TPanel - Align = Top - Size.Width = 423.000000000000000000 - Size.Height = 57.000000000000000000 - Size.PlatformDefault = False - TabOrder = 0 - object Edit1: TEdit - Touch.InteractiveGestures = [LongTap, DoubleTap] - Align = Client - TabOrder = 0 - Margins.Left = 5.000000000000000000 - Margins.Top = 5.000000000000000000 - Margins.Right = 5.000000000000000000 - Margins.Bottom = 5.000000000000000000 - Size.Width = 297.000000000000000000 - Size.Height = 47.000000000000000000 - Size.PlatformDefault = False - end - object Button2: TButton - Action = acLogin - Align = Right - Enabled = True - ImageIndex = -1 - Margins.Left = 5.000000000000000000 - Margins.Top = 5.000000000000000000 - Margins.Right = 5.000000000000000000 - Margins.Bottom = 5.000000000000000000 - Position.X = 312.000000000000000000 - Position.Y = 5.000000000000000000 - Size.Width = 106.000000000000000000 - Size.Height = 47.000000000000000000 - Size.PlatformDefault = False - TabOrder = 1 - Visible = True - end - end - object ListBox1: TListBox - Align = Client - Margins.Left = 5.000000000000000000 - Margins.Right = 5.000000000000000000 - Size.Width = 413.000000000000000000 - Size.Height = 383.000000000000000000 - Size.PlatformDefault = False - TabOrder = 1 - DisableFocusEffect = True - DefaultItemStyles.ItemStyle = '' - DefaultItemStyles.GroupHeaderStyle = '' - DefaultItemStyles.GroupFooterStyle = '' - Viewport.Width = 409.000000000000000000 - Viewport.Height = 379.000000000000000000 - end - object Panel2: TPanel - Align = Bottom - Position.Y = 440.000000000000000000 - Size.Width = 423.000000000000000000 - Size.Height = 66.000000000000000000 - Size.PlatformDefault = False - TabOrder = 2 - object Memo1: TMemo - Touch.InteractiveGestures = [Pan, LongTap, DoubleTap] - DataDetectorTypes = [] - Align = Client - Margins.Left = 5.000000000000000000 - Margins.Top = 5.000000000000000000 - Margins.Right = 5.000000000000000000 - Margins.Bottom = 5.000000000000000000 - Size.Width = 297.000000000000000000 - Size.Height = 56.000000000000000000 - Size.PlatformDefault = False - TabOrder = 0 - Viewport.Width = 293.000000000000000000 - Viewport.Height = 52.000000000000000000 - end - object Button1: TButton - Action = acSend - Align = Right - Enabled = True - ImageIndex = -1 - Margins.Left = 5.000000000000000000 - Margins.Top = 5.000000000000000000 - Margins.Right = 5.000000000000000000 - Margins.Bottom = 5.000000000000000000 - Position.X = 312.000000000000000000 - Position.Y = 5.000000000000000000 - Size.Width = 106.000000000000000000 - Size.Height = 56.000000000000000000 - Size.PlatformDefault = False - StyleLookup = 'speedbuttonstyle' - TabOrder = 1 - Visible = True - end - end - object ActionList1: TActionList - Left = 200 - Top = 240 - object acLogin: TAction - Text = 'Login' - OnExecute = acLoginExecute - OnUpdate = acLoginUpdate - end - object acSend: TAction - Text = 'Send' - OnExecute = acSendExecute - OnUpdate = acSendUpdate - end - end -end diff --git a/samples_2_X/pushnotifications_mobileclient/MainFormU.pas b/samples_2_X/pushnotifications_mobileclient/MainFormU.pas deleted file mode 100644 index 43fb50460..000000000 --- a/samples_2_X/pushnotifications_mobileclient/MainFormU.pas +++ /dev/null @@ -1,156 +0,0 @@ -unit MainFormU; - -interface - -uses - System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, - FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, - FMX.ListBox, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, - FMX.Edit, System.Actions, FMX.ActnList, FMX.DialogService, System.Net.HTTPClient; - -type - TForm7 = class(TForm) - Panel1: TPanel; - ListBox1: TListBox; - Panel2: TPanel; - Memo1: TMemo; - Button1: TButton; - Edit1: TEdit; - Button2: TButton; - ActionList1: TActionList; - acLogin: TAction; - acSend: TAction; - procedure acLoginUpdate(Sender: TObject); - procedure acSendUpdate(Sender: TObject); - procedure acLoginExecute(Sender: TObject); - procedure FormCreate(Sender: TObject); - procedure acSendExecute(Sender: TObject); - private - FLogged: Boolean; - FSendQueue: THTTPClient; - FUserName: string; - FPullThread: TThread; - public - { Public declarations } - end; - -var - Form7: TForm7; - -implementation - -uses System.JSON; - -{$R *.fmx} - - -const - // BASEURL = 'http://192.168.3.75:8080'; - BASEURL = 'http://192.168.1.109:8080'; - -procedure TForm7.acLoginExecute(Sender: TObject); -begin - FUserName := Edit1.Text; - FLogged := not FUserName.Trim.IsEmpty; - - if FLogged then - begin - ListBox1.Items.Add('LOGGED AS ' + FUserName); - ListBox1.Items.Add('---'); - FPullThread := TThread.CreateAnonymousThread( - procedure - var - lHTTPClient: THTTPClient; - lRes: IHTTPResponse; - lContent: string; - lJObj: TJSONObject; - lJMessages: TJSONArray; - I: Integer; - lUserName: string; - lMessage: string; - begin - lHTTPClient := THTTPClient.Create; - lHTTPClient.ResponseTimeout := 30000; - while FLogged do - begin - try - lRes := lHTTPClient.Get(BASEURL + '/topics/test1/' + FUserName); - except - if lRes.StatusCode = 0 then - begin - Sleep(10000); - Continue; - end; - end; - if lRes.StatusCode = 200 then - begin - lContent := lRes.ContentAsString(TEncoding.UTF8); - lJObj := TJSONObject.ParseJSONValue(lContent) as TJSONObject; - try - lJMessages := lJObj.GetValue('data') as TJSONArray; - for I := 0 to lJMessages.Count - 1 do - begin - lUserName := lJMessages.Items[I].GetValue('username').Value; - lMessage := lJMessages.Items[I].GetValue('message').Value; - TThread.Synchronize(nil, - procedure - begin - ListBox1.Items.Add(TimeToStr(Time) + ' [' + lUserName + ']: ' + - lMessage.Trim); - ListBox1.SelectRange( - ListBox1.ItemByIndex(ListBox1.Items.Count - 1), - ListBox1.ItemByIndex(ListBox1.Items.Count - 1) - ); - end); - end; - finally - lJObj.Free; - end; - end; - end; - end); - FPullThread.Start; - end; -end; - -procedure TForm7.acLoginUpdate(Sender: TObject); -begin - acLogin.Enabled := not FLogged; -end; - -procedure TForm7.acSendExecute(Sender: TObject); -var - lBody: TStringStream; - lResp: IHTTPResponse; - lJObj: TJSONObject; -begin - lBody := TStringStream.Create; - try - lJObj := TJSONObject.Create; - try - lJObj.AddPair('username', FUserName); - lJObj.AddPair('message', Memo1.Lines.Text); - lBody.WriteString(lJObj.ToJSON); - finally - lJObj.Free; - end; - lBody.Position := 0; - lResp := FSendQueue.Post(BASEURL + '/topics/test1/' + FUserName, lBody); - if lResp.StatusCode <> 200 then - TDialogService.ShowMessage('Cannot send message: ' + lResp.StatusText); - finally - lBody.Free; - end; -end; - -procedure TForm7.acSendUpdate(Sender: TObject); -begin - acSend.Enabled := FLogged; -end; - -procedure TForm7.FormCreate(Sender: TObject); -begin - FSendQueue := THTTPClient.Create; -end; - -end. diff --git a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.deployproj b/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.deployproj deleted file mode 100644 index 2939501d7..000000000 --- a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.deployproj +++ /dev/null @@ -1,223 +0,0 @@ - - - - 12 - - - ENU5T16126001397 - - - iPhone5 - - - - - - - PushNotificationsMobileClient\ - PushNotificationsMobileClient.exe - ProjectOutput - 0 - - - True - True - - - - - PushNotificationsMobileClient.app\Contents\MacOS\ - libcgsqlite3.dylib - DependencyModule - 1 - - - True - - - PushNotificationsMobileClient.app\Contents\MacOS\ - libcgunwind.1.0.dylib - DependencyModule - 1 - - - True - - - - - PushNotificationsMobileClient\library\lib\armeabi-v7a\ - libPushNotificationsMobileClient.so - ProjectOutput - 1 - - - True - True - - - PushNotificationsMobileClient\res\drawable-ldpi\ - ic_launcher.png - Android_LauncherIcon36 - 1 - - - True - - - PushNotificationsMobileClient\ - AndroidManifest.xml - ProjectAndroidManifest - 1 - - - True - - - PushNotificationsMobileClient\library\lib\armeabi\ - libPushNotificationsMobileClient.so - AndroidLibnativeArmeabiFile - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-hdpi\ - ic_launcher.png - Android_LauncherIcon72 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-xxhdpi\ - ic_launcher.png - Android_LauncherIcon144 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-normal\ - splash_image.png - Android_SplashImage470 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-small\ - splash_image.png - Android_SplashImage426 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-large\ - splash_image.png - Android_SplashImage640 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-xlarge\ - splash_image.png - Android_SplashImage960 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-xhdpi\ - ic_launcher.png - Android_LauncherIcon96 - 1 - - - True - - - PushNotificationsMobileClient\res\drawable-mdpi\ - ic_launcher.png - Android_LauncherIcon48 - 1 - - - True - - - PushNotificationsMobileClient\library\lib\mips\ - libPushNotificationsMobileClient.so - AndroidLibnativeMipsFile - 1 - - - True - - - PushNotificationsMobileClient\classes\ - classes.dex - AndroidClassesDexFile - 1 - - - True - - - PushNotificationsMobileClient\library\lib\armeabi-v7a\ - gdbserver - AndroidGDBServer - 1 - - - True - - - PushNotificationsMobileClient\res\drawable\ - splash_image_def.xml - AndroidSplashImageDef - 1 - - - True - - - PushNotificationsMobileClient\res\values\ - styles.xml - AndroidSplashStyles - 1 - - - True - - - - - PushNotificationsMobileClient.app\ - libcgunwind.1.0.dylib - DependencyModule - 1 - - - True - - - PushNotificationsMobileClient.app\ - libPCRE.dylib - DependencyModule - 1 - - - True - - - diff --git a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dpr b/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dpr deleted file mode 100644 index dd23d61f7..000000000 --- a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dpr +++ /dev/null @@ -1,15 +0,0 @@ -program PushNotificationsMobileClient; - -uses - System.StartUpCopy, - FMX.Forms, - MainFormU in 'MainFormU.pas' {Form7}; - -{$R *.res} - -begin - Application.Initialize; - Application.FormFactor.Orientations := [TFormOrientation.Portrait]; - Application.CreateForm(TForm7, Form7); - Application.Run; -end. diff --git a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dproj b/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dproj deleted file mode 100644 index 6a4141e57..000000000 --- a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.dproj +++ /dev/null @@ -1,908 +0,0 @@ - - - {73833C73-3E07-456C-9871-BC3589DB2D2B} - 18.2 - FMX - PushNotificationsMobileClient.dpr - True - Debug - Win32 - 1119 - Application - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Cfg_1 - true - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - true - Cfg_2 - true - true - - - true - Cfg_2 - true - true - - - $(BDS)\bin\delphi_PROJECTICNS.icns - System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) - true - $(BDS)\bin\delphi_PROJECTICON.ico - true - true - PushNotificationsMobileClient - true - true - true - true - true - true - true - true - .\$(Platform)\$(Config) - .\$(Platform)\$(Config) - false - false - false - false - false - - - $(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png - android-support-v4.dex.jar;cloud-messaging.dex.jar;fmx.dex.jar;google-analytics-v2.dex.jar;google-play-billing.dex.jar;google-play-licensing.dex.jar;google-play-services.dex.jar - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png - $(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png - $(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png - Debug - DBXSqliteDriver;RESTComponents;DBXInterBaseDriver;emsclientfiredac;DataSnapFireDAC;tethering;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - true - package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey= - - - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_180x180.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_87x87.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png - DBXSqliteDriver;RESTComponents;DBXInterBaseDriver;emsclientfiredac;DataSnapFireDAC;tethering;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;fmxase;$(DCC_UsePackage) - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png - $(MSBuildProjectName) - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes=;NSContactsUsageDescription=The reason for accessing the contacts;NSPhotoLibraryUsageDescription=The reason for accessing the photo library;NSCameraUsageDescription=The reason for accessing the camera - Debug - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png - true - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png - iPhoneAndiPad - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_1242x2208.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_2208x1242.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png - - - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_180x180.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_87x87.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png - DBXSqliteDriver;RESTComponents;DBXInterBaseDriver;emsclientfiredac;DataSnapFireDAC;tethering;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;fmxase;$(DCC_UsePackage) - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png - $(MSBuildProjectName) - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes=;NSContactsUsageDescription=The reason for accessing the contacts;NSPhotoLibraryUsageDescription=The reason for accessing the photo library;NSCameraUsageDescription=The reason for accessing the camera - Debug - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png - true - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png - iPhoneAndiPad - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_1242x2208.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_2208x1242.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png - - - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_180x180.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_87x87.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png - DBXSqliteDriver;RESTComponents;DBXInterBaseDriver;emsclientfiredac;DataSnapFireDAC;tethering;bindcompfmx;FmxTeeUI;FireDACIBDriver;fmx;FireDACDBXDriver;dbexpress;IndyCore;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;ibmonitor;FMXTee;soaprtl;DbxCommonDriver;ibxpress;xmlrtl;soapmidas;DataSnapNativeClient;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;fmxase;$(DCC_UsePackage) - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png - CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;CFBundleResourceSpecification=ResourceRules.plist;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;FMLocalNotificationPermission=false;UIBackgroundModes=;NSContactsUsageDescription=The reason for accessing the contacts;NSPhotoLibraryUsageDescription=The reason for accessing the photo library;NSCameraUsageDescription=The reason for accessing the camera - $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png - true - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png - $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_1242x2208.png - iPhoneAndiPad - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_2208x1242.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png - $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png - $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png - $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png - - - true - DBXSqliteDriver;RESTComponents;DataSnapServerMidas;DBXInterBaseDriver;emsclientfiredac;DataSnapFireDAC;tethering;FireDACMSSQLDriver;bindcompfmx;DBXOracleDriver;inetdb;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;FireDACDBXDriver;dbexpress;IndyCore;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;soapserver;bindengine;DBXMySQLDriver;FireDACOracleDriver;CloudService;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;DBXSybaseASADriver;CustomIPTransport;bindcomp;DBXInformixDriver;IndyIPClient;dbxcds;FireDACODBCDriver;DataSnapIndy10ServerTransport;dsnapxml;DataSnapProviderClient;dbrtl;inetdbxpress;FireDACMongoDBDriver;IndyProtocols;fmxase;$(DCC_UsePackage) - Debug - CFBundleName=$(MSBuildProjectName);CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleVersion=1.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);NSHighResolutionCapable=true;LSApplicationCategoryType=public.app-category.utilities;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;NSContactsUsageDescription=The reason for accessing the contacts - - - $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png - $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png - DBXSqliteDriver;RESTComponents;DataSnapServerMidas;DBXDb2Driver;DBXInterBaseDriver;vclactnband;vclFireDAC;emsclientfiredac;DataSnapFireDAC;svnui;tethering;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;vcltouch;vcldb;bindcompfmx;svn;Intraweb;DBXOracleDriver;inetdb;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;frx24;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;vclie;bindengine;DBXMySQLDriver;FireDACOracleDriver;CloudService;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;vcl;DBXSybaseASEDriver;IndyIPServer;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;DBXSybaseASADriver;frxTee24;CustomIPTransport;vcldsnap;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;TeeUI;frxe24;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;frxDB24;dsnapxml;DataSnapProviderClient;dbrtl;inetdbxpress;FireDACMongoDBDriver;IndyProtocols;fmxase;$(DCC_UsePackage) - $(BDS)\bin\default_app.manifest - 1033 - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - true - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - - - $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png - $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png - DBXSqliteDriver;RESTComponents;DataSnapServerMidas;DBXDb2Driver;DBXInterBaseDriver;vclactnband;vclFireDAC;emsclientfiredac;DataSnapFireDAC;tethering;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;vcltouch;vcldb;bindcompfmx;Intraweb;DBXOracleDriver;inetdb;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;vclie;bindengine;DBXMySQLDriver;FireDACOracleDriver;CloudService;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;vcl;DBXSybaseASEDriver;IndyIPServer;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;DBXSybaseASADriver;CustomIPTransport;vcldsnap;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;TeeUI;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;dsnapxml;DataSnapProviderClient;dbrtl;inetdbxpress;FireDACMongoDBDriver;IndyProtocols;fmxase;$(DCC_UsePackage) - $(BDS)\bin\default_app.manifest - 1033 - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - true - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - 1 - - - Debug - true - true - false - - - Debug - true - true - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - true - true - - - true - true - - - - MainSource - - -
Form7
- fmx -
- - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - -
- - Delphi.Personality.12 - Application - - - - PushNotificationsMobileClient.dpr - - - Embarcadero C++Builder Office 2000 Servers Package - Embarcadero C++Builder Office XP Servers Package - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components - - - - - - PushNotificationsMobileClient.exe - true - - - - - libPushNotificationsMobileClient.so - true - - - - - ic_launcher.png - true - - - - - true - - - - - libPushNotificationsMobileClient.so - true - - - - - ic_launcher.png - true - - - - - true - - - - - ic_launcher.png - true - - - - - true - - - - - splash_image.png - true - - - - - splash_image.png - true - - - - - splash_image.png - true - - - - - splash_image.png - true - - - - - true - - - - - ic_launcher.png - true - - - - - ic_launcher.png - true - - - - - true - - - - - libPushNotificationsMobileClient.so - true - - - - - classes.dex - true - - - - - true - - - - - true - - - - - true - - - - - 1 - - - 1 - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - Contents\MacOS - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - Contents\MacOS - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - ..\ - 1 - - - ..\ - 1 - - - - - res\drawable-hdpi - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - Contents - 1 - - - - - ..\ - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - Contents\Resources\StartUp\ - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - Contents\MacOS - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - - - - - - - - - True - True - True - True - True - True - True - - - 12 - - - - -
diff --git a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.res b/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.res deleted file mode 100644 index a0d204ae1..000000000 Binary files a/samples_2_X/pushnotifications_mobileclient/PushNotificationsMobileClient.res and /dev/null differ diff --git a/samples_2_X/pushnotifications_server/MainControllerU.pas b/samples_2_X/pushnotifications_server/MainControllerU.pas deleted file mode 100644 index 0ee9af0e8..000000000 --- a/samples_2_X/pushnotifications_server/MainControllerU.pas +++ /dev/null @@ -1,148 +0,0 @@ -unit MainControllerU; - -interface - -uses - MVCFramework, MVCFramework.Commons; - -type - - [MVCPath('/')] - TMainController = class(TMVCController) - public - [MVCPath('/facts/datetime')] - [MVCHTTPMethod([httpGET])] - procedure GetDateTime; - - [MVCPath('/topics/($TopicName)/($ClientID)')] - [MVCHTTPMethod([httpGET])] - procedure TopicDequeue(const TopicName: string; const ClientID: string); - - [MVCPath('/topics/($TopicName)/($ClientID)')] - [MVCHTTPMethod([httpPOST])] - procedure TopicEnqueue(const TopicName: string; const ClientID: string); - - procedure OnBeforeAction(Context: TWebContext; const AActionName: string; - var Handled: Boolean); override; - procedure OnAfterAction(Context: TWebContext; const AActionName: string); override; - end; - -implementation - -uses - System.JSON, ObjectsMappers, System.SysUtils, StompClient; - -const - DEFAULT_TIMEOUT = 30000; // 30 secs - WAIT_TIMEOUT = 1000; // 500 msec - -procedure TMainController.GetDateTime; -var - lJObj: TJSONObject; -begin - lJObj := TJSONObject.Create; - try - lJObj.AddPair('datetime', ISODateTimeToString(Now)); - Render(lJObj); - except - lJObj.Free; - raise; - end; -end; - -procedure TMainController.OnAfterAction(Context: TWebContext; const AActionName: string); -begin - { Executed after each action } - inherited; -end; - -procedure TMainController.OnBeforeAction(Context: TWebContext; const AActionName: string; - var Handled: Boolean); -begin - { Executed before each action - if handled is true (or an exception is raised) the actual - action will not be called } - inherited; -end; - -procedure TMainController.TopicDequeue(const TopicName: string; const ClientID: string); -var - lStomp: IStompClient; - lStompFrame: IStompFrame; - lJObj: TJSONObject; - lJObjMsg: TJSONObject; - lJArrMessages: TJSONArray; - lTimeout: Integer; - lCount: UInt64; -begin - lStomp := TStompClient.Create; - lStomp.Connect('127.0.0.1', 61613, ClientID); - lStomp.Subscribe('/topic/' + TopicName, amAuto, - StompUtils.Headers - .Add(TStompHeaders.AUTO_DELETE, 'false') - .Add(TStompHeaders.Subscription(ClientID)) - .Add(TStompHeaders.Persistent(true)) - ); - lJObj := TJSONObject.Create; - try - lJArrMessages := TJSONArray.Create; - lJObj.AddPair('data', lJArrMessages); - lCount := 0; - lTimeout := DEFAULT_TIMEOUT; - while lStomp.Receive(lStompFrame, lTimeout) do - begin - Inc(lCount); - lJObjMsg := TJSONObject.ParseJSONValue(lStompFrame.Body) as TJSONObject; - lJArrMessages.AddElement(lJObjMsg); - lJObjMsg.AddPair('_messageid', lStompFrame.MessageID); - lTimeout := WAIT_TIMEOUT; // wait to see in there are already other messages - end; - - if lCount > 0 then - begin - lJObj.AddPair('status', 'ok'); - lJObj.AddPair('count', TJSONNumber.Create(lCount)); - end - else - begin - lJObj.AddPair('status', 'timeout'); - end; - Render(lJObj); - except - on E: Exception do - begin - lJObj.AddPair('status', 'error'); - lJObj.AddPair('error', E.Message); - lJObj.AddPair('classname', E.ClassName); - Render(lJObj); - end; - end; -end; - -procedure TMainController.TopicEnqueue(const TopicName, ClientID: string); -var - lJObj: TJSONObject; - lStomp: TStompClient; - lJMessage: TJSONObject; -begin - lJObj := TJSONObject.ParseJSONValue(Context.Request.Body) as TJSONObject; - try - if Assigned(lJObj.GetValue('message')) and (Assigned(lJObj.GetValue('username'))) then - begin - lJMessage := TJSONObject.Create; - try - lJMessage.AddPair('username', lJObj.GetValue('username').Value); - lJMessage.AddPair('message', lJObj.GetValue('message').Value); - lStomp := TStompClient.Create; - lStomp.Connect('127.0.0.1', 61613, ClientID); - lStomp.Send('/topic/' + TopicName, lJMessage.ToJSON); - finally - lJMessage.Free; - end; - end; - finally - lJObj.Free; - end; -end; - -end. diff --git a/samples_2_X/pushnotifications_server/PushNotifications.res b/samples_2_X/pushnotifications_server/PushNotifications.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/pushnotifications_server/PushNotifications.res and /dev/null differ diff --git a/samples_2_X/pushnotifications_server/PushNotificationsServer.dpr b/samples_2_X/pushnotifications_server/PushNotificationsServer.dpr deleted file mode 100644 index 9cfe51a06..000000000 --- a/samples_2_X/pushnotifications_server/PushNotificationsServer.dpr +++ /dev/null @@ -1,64 +0,0 @@ -program PushNotificationsServer; - - {$APPTYPE CONSOLE} - -uses - System.SysUtils, - Winapi.Windows, - Winapi.ShellAPI, - Web.WebReq, - Web.WebBroker, - IdHTTPWebBrokerBridge, - MainControllerU in 'MainControllerU.pas', - WebModuleU in 'WebModuleU.pas' {MyWebModule: TWebModule}; - -{$R *.res} - -procedure RunServer(APort: Integer); -var - LInputRecord: TInputRecord; - LEvent: DWord; - LHandle: THandle; - LServer: TIdHTTPWebBrokerBridge; -begin - Writeln('** DMVCFramework Server **'); - Writeln(Format('Starting HTTP Server on port %d', [APort])); - LServer := TIdHTTPWebBrokerBridge.Create(nil); - try - LServer.DefaultPort := APort; - LServer.Active := True; - { more info about MaxConnections - http://www.indyproject.org/docsite/html/frames.html?frmname=topic&frmfile=TIdCustomTCPServer_MaxConnections.html} - LServer.MaxConnections := 0; - { more info about ListenQueue - http://www.indyproject.org/docsite/html/frames.html?frmname=topic&frmfile=TIdCustomTCPServer_ListenQueue.html} - LServer.ListenQueue := 200; - { Comment the next line to avoid the default browser startup } - ShellExecute(0, 'open', PChar('http://localhost:' + inttostr(APort)), nil, nil, SW_SHOWMAXIMIZED); - Writeln('Press ESC to stop the server'); - LHandle := GetStdHandle(STD_INPUT_HANDLE); - while True do - begin - Win32Check(ReadConsoleInput(LHandle, LInputRecord, 1, LEvent)); - if (LInputRecord.EventType = KEY_EVENT) and - LInputRecord.Event.KeyEvent.bKeyDown and - (LInputRecord.Event.KeyEvent.wVirtualKeyCode = VK_ESCAPE) then - break; - end; - finally - LServer.Free; - end; -end; - -begin - ReportMemoryLeaksOnShutdown := True; - try - if WebRequestHandler <> nil then - WebRequestHandler.WebModuleClass := WebModuleClass; - WebRequestHandlerProc.MaxConnections := 1024; - RunServer(8080); - except - on E: Exception do - Writeln(E.ClassName, ': ', E.Message); - end; -end. diff --git a/samples_2_X/pushnotifications_server/PushNotificationsServer.dproj b/samples_2_X/pushnotifications_server/PushNotificationsServer.dproj deleted file mode 100644 index f9f4c6990..000000000 --- a/samples_2_X/pushnotifications_server/PushNotificationsServer.dproj +++ /dev/null @@ -1,501 +0,0 @@ - - - {982E1AC8-158D-49B4-A6B4-8C36D0596B35} - 18.2 - VCL - PushNotificationsServer.dpr - True - Debug - Win32 - 1 - Console - - - true - - - true - Base - true - - - true - Base - true - - - true - Base - true - - - true - Cfg_1 - true - true - - - true - Base - true - - - VCL;$(DCC_Framework) - System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) - ..\..\lib\delphistompclient;..\..\lib\loggerpro;..\..\lib\dmustache;$(DCC_UnitSearchPath) - true - $(BDS)\bin\delphi_PROJECTICNS.icns - $(BDS)\bin\delphi_PROJECTICON.ico - PushNotificationsServer - CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= - 1040 - .\$(Platform)\$(Config) - .\bin - false - false - false - false - false - - - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - DBXSqliteDriver;RESTComponents;DataSnapServerMidas;DBXDb2Driver;DBXInterBaseDriver;vclactnband;vclFireDAC;emsclientfiredac;DataSnapFireDAC;svnui;tethering;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;vcltouch;vcldb;bindcompfmx;svn;Intraweb;DBXOracleDriver;inetdb;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;frx24;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;vclie;bindengine;DBXMySQLDriver;FireDACOracleDriver;CloudService;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;vcl;DBXSybaseASEDriver;IndyIPServer;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;DBXSybaseASADriver;frxTee24;CustomIPTransport;vcldsnap;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;TeeUI;frxe24;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;frxDB24;dsnapxml;DataSnapProviderClient;dbrtl;inetdbxpress;FireDACMongoDBDriver;IndyProtocols;fmxase;$(DCC_UsePackage) - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName) - 1033 - - - DBXSqliteDriver;RESTComponents;DataSnapServerMidas;DBXDb2Driver;DBXInterBaseDriver;vclactnband;vclFireDAC;emsclientfiredac;DataSnapFireDAC;tethering;FireDACADSDriver;DBXMSSQLDriver;DatasnapConnectorsFreePascal;FireDACMSSQLDriver;vcltouch;vcldb;bindcompfmx;Intraweb;DBXOracleDriver;inetdb;FmxTeeUI;emsedge;FireDACIBDriver;fmx;fmxdae;vclib;FireDACDBXDriver;dbexpress;IndyCore;vclx;dsnap;DataSnapCommon;emsclient;FireDACCommon;RESTBackendComponents;DataSnapConnectors;VCLRESTComponents;soapserver;vclie;bindengine;DBXMySQLDriver;FireDACOracleDriver;CloudService;FireDACMySQLDriver;DBXFirebirdDriver;FireDACCommonODBC;FireDACCommonDriver;DataSnapClient;inet;bindcompdbx;IndyIPCommon;vcl;DBXSybaseASEDriver;IndyIPServer;IndySystem;FireDACDb2Driver;dsnapcon;FireDACMSAccDriver;fmxFireDAC;FireDACInfxDriver;vclimg;TeeDB;FireDAC;emshosting;FireDACSqliteDriver;FireDACPgDriver;ibmonitor;FireDACASADriver;DBXOdbcDriver;FireDACTDataDriver;FMXTee;soaprtl;DbxCommonDriver;ibxpress;Tee;DataSnapServer;xmlrtl;soapmidas;DataSnapNativeClient;fmxobj;vclwinx;ibxbindings;rtl;FireDACDSDriver;DbxClientDriver;DBXSybaseASADriver;CustomIPTransport;vcldsnap;bindcomp;appanalytics;DBXInformixDriver;IndyIPClient;bindcompvcl;TeeUI;dbxcds;VclSmp;adortl;FireDACODBCDriver;DataSnapIndy10ServerTransport;dsnapxml;DataSnapProviderClient;dbrtl;inetdbxpress;FireDACMongoDBDriver;IndyProtocols;fmxase;$(DCC_UsePackage) - - - DEBUG;$(DCC_Define) - true - false - true - true - true - - - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) - (None) - 1033 - false - - - false - RELEASE;$(DCC_Define) - 0 - 0 - - - - MainSource - - - -
MyWebModule
- dfm - TWebModule -
- - Cfg_2 - Base - - - Base - - - Cfg_1 - Base - -
- - Delphi.Personality.12 - Console - - - - PushNotificationsServer.dpr - - - Embarcadero C++Builder Office 2000 Servers Package - Embarcadero C++Builder Office XP Servers Package - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components - - - - - - PushNotificationsServer.exe - true - - - - - 0 - .dll;.bpl - - - 1 - .dylib - - - - - Contents\Resources - 1 - - - - - classes - 1 - - - - - Contents\MacOS - 0 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-xxhdpi - 1 - - - - - library\lib\mips - 1 - - - - - 1 - - - 1 - - - 0 - - - 1 - - - 1 - - - library\lib\armeabi-v7a - 1 - - - 1 - - - - - 0 - - - 1 - .framework - - - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - 1 - - - 1 - - - 1 - - - - - - library\lib\armeabi - 1 - - - - - 0 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\drawable-normal - 1 - - - - - res\drawable-xhdpi - 1 - - - - - res\drawable-large - 1 - - - - - 1 - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - - res\drawable-hdpi - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - - - Assets - 1 - - - Assets - 1 - - - - - 1 - - - 1 - - - 1 - - - - - res\values - 1 - - - - - res\drawable-small - 1 - - - - - res\drawable - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - - - res\drawable - 1 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 0 - .bpl - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - - - res\drawable-mdpi - 1 - - - - - res\drawable-xlarge - 1 - - - - - res\drawable-ldpi - 1 - - - - - - - - - - - - - - True - False - - - 12 - - - - -
diff --git a/samples_2_X/pushnotifications_server/PushNotificationsServer.res b/samples_2_X/pushnotifications_server/PushNotificationsServer.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/pushnotifications_server/PushNotificationsServer.res and /dev/null differ diff --git a/samples_2_X/pushnotifications_server/WebModuleU.dfm b/samples_2_X/pushnotifications_server/WebModuleU.dfm deleted file mode 100644 index 018d06708..000000000 --- a/samples_2_X/pushnotifications_server/WebModuleU.dfm +++ /dev/null @@ -1,8 +0,0 @@ -object MyWebModule: TMyWebModule - OldCreateOrder = False - OnCreate = WebModuleCreate - OnDestroy = WebModuleDestroy - Actions = <> - Height = 230 - Width = 415 -end diff --git a/samples_2_X/pushnotifications_server/WebModuleU.pas b/samples_2_X/pushnotifications_server/WebModuleU.pas deleted file mode 100644 index a29a3eaf8..000000000 --- a/samples_2_X/pushnotifications_server/WebModuleU.pas +++ /dev/null @@ -1,61 +0,0 @@ -unit WebModuleU; - -interface - -uses System.SysUtils, - System.Classes, - Web.HTTPApp, - MVCFramework; - -type - TMyWebModule = class(TWebModule) - procedure WebModuleCreate(Sender: TObject); - procedure WebModuleDestroy(Sender: TObject); - private - FMVC: TMVCEngine; - public - { Public declarations } - end; - -var - WebModuleClass: TComponentClass = TMyWebModule; - -implementation - -{$R *.dfm} - -uses MainControllerU, MVCFramework.Commons; - -procedure TMyWebModule.WebModuleCreate(Sender: TObject); -begin - FMVC := TMVCEngine.Create(Self, - procedure(Config: TMVCConfig) - begin - //enable static files - Config[TMVCConfigKey.DocumentRoot] := ExtractFilePath(GetModuleName(HInstance)) + '\www'; - // session timeout (0 means session cookie) - Config[TMVCConfigKey.SessionTimeout] := '0'; - //default content-type - Config[TMVCConfigKey.DefaultContentType] := TMVCConstants.DEFAULT_CONTENT_TYPE; - //default content charset - Config[TMVCConfigKey.DefaultContentCharset] := TMVCConstants.DEFAULT_CONTENT_CHARSET; - //unhandled actions are permitted? - Config[TMVCConfigKey.AllowUnhandledAction] := 'false'; - //default view file extension - Config[TMVCConfigKey.DefaultViewFileExtension] := 'html'; - //view path - Config[TMVCConfigKey.ViewPath] := 'templates'; - //Enable STOMP messaging controller - Config[TMVCConfigKey.Messaging] := 'false'; - //Enable Server Signature in response - Config[TMVCConfigKey.ExposeServerSignature] := 'true'; - end); - FMVC.AddController(TMainController); -end; - -procedure TMyWebModule.WebModuleDestroy(Sender: TObject); -begin - FMVC.Free; -end; - -end. diff --git a/samples_2_X/pushnotifications_server/WebWorkers.res b/samples_2_X/pushnotifications_server/WebWorkers.res deleted file mode 100644 index 6876088a6..000000000 Binary files a/samples_2_X/pushnotifications_server/WebWorkers.res and /dev/null differ diff --git a/samples_2_X/pushnotifications_server/bin/www/.vscode/settings.json b/samples_2_X/pushnotifications_server/bin/www/.vscode/settings.json deleted file mode 100644 index 5da56787e..000000000 --- a/samples_2_X/pushnotifications_server/bin/www/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -// Inserire le impostazioni in questo file per sovrascrivere quelle utente e predefinite. -{ -} \ No newline at end of file diff --git a/samples_2_X/pushnotifications_server/bin/www/ajax.js b/samples_2_X/pushnotifications_server/bin/www/ajax.js deleted file mode 100644 index 07100609b..000000000 --- a/samples_2_X/pushnotifications_server/bin/www/ajax.js +++ /dev/null @@ -1,17 +0,0 @@ -function AJAX() { - var me = this; - this.callback = null; - - function listener() { - me.callback(this.status, this.response); - } - - var oReq = new XMLHttpRequest(); - oReq.addEventListener("load", listener); - - this.get = function(URL, callback) { - me.callback = callback; - oReq.open("GET", URL); - oReq.send(); - } -} \ No newline at end of file diff --git a/samples_2_X/pushnotifications_server/bin/www/index.html b/samples_2_X/pushnotifications_server/bin/www/index.html deleted file mode 100644 index 5638503de..000000000 --- a/samples_2_X/pushnotifications_server/bin/www/index.html +++ /dev/null @@ -1,139 +0,0 @@ - - -
- -
- - -
-
-

DelphiMVCFramework PushNotifications

-
-
-
-
- - -
- -
- -
-
-
- - - - - - \ No newline at end of file diff --git a/samples_2_X/pushnotifications_server/bin/www/myworkers.js b/samples_2_X/pushnotifications_server/bin/www/myworkers.js deleted file mode 100644 index a372f2977..000000000 --- a/samples_2_X/pushnotifications_server/bin/www/myworkers.js +++ /dev/null @@ -1,22 +0,0 @@ -importScripts('ajax.js') - -var ajax = new AJAX(); -var clientid = null; - -function loop() { - - ajax.get('/topics/test1/' + clientid, function(status, response) { - if (status == 200) { - //console.log(response); - var json = JSON.parse(response); - //console.log(json); - self.postMessage(json); - setTimeout(loop, 500); - } - }); -} - -self.onmessage = function(event) { - self.clientid = event.data; - self.loop(); -} \ No newline at end of file