Kapitel 8 Flashcards
Was ist die sup-client.dll?
sup-client.dll is a .NET assembly that contains the core of the Client API
Welche drei Namespace hat die sup-client.dll?
Sybase.Persistence, Sybase.Collections, Sybase.Reflection
Was befindet sich im Namespace Sybase.Persistence?
Contains Interfaces, enumerations and important classes (e.g. Database class)
Was befindet sich im Namespace Sybase.Collections?
Several list-based classes, das mit MBO daten gefüllt werden kann und zum traversieren zum Zugriff / Anzeige der Daten
Was befindet sich im Namespace Sybase.Reflection?
Classes contain functionality to allo runtime interrogation / investigation of details, such as MBO attributes and their tyes, operation, …
Wo befindet sich die Client API Documentation z.B. für .NET
c:\sybase\UnwiredPlatform\ClientAPI\apidocs\cs enthält die Windows compiled Help-Datei (*.chm)
Wie kann programmatisch die Synchronisation aufgerufen werden?
Synchronize( ) brings the data down to the device per the load and sync parameters Synchronize( ) is overloaded so as to pass the name of the Synchronization Group as a parameter
Welche Felder beinhaltet ein Log-Entry?
- messageId
- component (name MBO)
- entitiy key (Primary Key)
- code (one of several numbers)
- message (descriptive message)
- operation
- requestId (the id of the replay message sent by client)
- timestamp
Wie sieht der (Pseudo-)Ablauf für eine Verbindung von einer nativen App aus?
- Create a synchronization profile
- Register a callback (optional)
- For notifications of subscription results or failures
- Create the database and start synchronization
- Start the client engine
- Login to the Unwired Server
- Subscribe to the database
- Process CRUD requests
(submitPending!) - Unsubscribe from the database
- Disconnect from the server
Wozu dient bei iOS das settings.bundle?
During the Xcode project setup and configuration, one of the steps was to copy the settings.bundle file into the project
This file creates a settings screen for the Sybase Messaging Client