Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing sending retrieving data #33

Merged

Conversation

ekigamba
Copy link
Contributor

@ekigamba ekigamba commented Mar 28, 2019

Fixes #10
Fixes #11
Fixes #12
FIxes #14
Fixes #35
Fixes #16
Fixes #40
Fixes #42

ekigamba added 19 commits April 30, 2019 11:28
- This commit implements all the workflow logic for sending data and receiving the history. It however does not implement converting Json data of multimedia data to an input stream
Add non-functional implementations of SenderTransferDao and RecieverTransferDao
- Retry sending manifest if it fails for a max of 2 times
- Add SyncSenderHandler tests
- This adds a SyncReceiverHandler which handles the received manifests and their respective paylods
This also enables receiving another data payload while the last is still being processed by the host application
- Inform the receiver that the transfer is complete
- Disconnect after the message is received by the receiver
- Reset the connection in case of an error

Fixes #16
1. Fix saving of record history
2. Add metadata details to SyncPackageManifest - This will mostly be used by MultiMedia which might not contain required metadata in its
3. Fix conversion of JSONArray to string and from String
4. Fix sequence of data processing where some last records are processed before earlier records in the AsyncTask
5. Implement Sending and Receiving transfer dao in the sample app for testing
- Revert to processing data immediately
- Use default batch size as 20
1. Process stream chunks so as to enable the sending end to refill the stream
2. Enable sending of media file record id in payload-details map
3. Fix sending and receiving file payloads on sender and receiver
4. Perform stream sending on background thread
5. Add media sending in sample app
@ekigamba ekigamba force-pushed the issue/10-11-12-14-implementing-sending-retrieving-data branch from e68bba4 to e27980b Compare April 30, 2019 10:13
@ekigamba ekigamba removed the BLOCKED label Apr 30, 2019
@ekigamba ekigamba force-pushed the issue/10-11-12-14-implementing-sending-retrieving-data branch from 7083afc to ca4ba36 Compare May 3, 2019 07:43
@ekigamba ekigamba force-pushed the issue/10-11-12-14-implementing-sending-retrieving-data branch from ca4ba36 to 963b8c3 Compare May 3, 2019 07:44
@ekigamba ekigamba requested a review from githengi May 6, 2019 14:14
@ekigamba ekigamba merged commit e320170 into master May 30, 2019
@ekigamba ekigamba deleted the issue/10-11-12-14-implementing-sending-retrieving-data branch May 30, 2019 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment