jusung [Wed, 1 Dec 2021 00:07:50 +0000 (09:07 +0900)]
Update cion java libs
- cion : release version 1.1.1
- vine : release version 1.1.10
Change-Id: Ie59402ccf3a2675c5ec97cc2821b4d8b823c5327
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Thu, 25 Nov 2021 01:23:35 +0000 (10:23 +0900)]
Release version 1.1.8
Changes:
- Fix VineDiscoverer log
- Fix to thread-safe when destructing vine dp
- Fix to thread-safe when handling list of discovered services
Change-Id: I54f7dbc9d37c9430ab68b62428e07735f73c8dfe
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 19 Nov 2021 02:35:27 +0000 (11:35 +0900)]
Fix to thread-safe when handling list of discovered services
Change-Id: I5905923281891a09a1e251d555362267f33f1104
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Nov 2021 07:16:35 +0000 (16:16 +0900)]
Fix to thread-safe when destructing vine dp
The callbacks of vine dp can be invoked by worker thread after invoking
vine_dp_destroy() by main thread.
Change-Id: I5bc26a5d2e56123b8539f05f59eb511d4904cc72
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 11 Nov 2021 08:43:25 +0000 (17:43 +0900)]
Fix VineDiscoverer log
Print discovered service name instead of name of self.
This can be a name of cion internal daemon.
Change-Id: I00f9a1532589aa538bf7fc1c141c207815b6fcef
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 10 Nov 2021 05:35:05 +0000 (14:35 +0900)]
Release version 1.1.7
Changes:
- Publish cion java libs
- Fix static analysis
- Fix VineSession
- Fix IdleInvoker
- Fix timing issue
- Fix managing payload async result callbacks
- Rename VineBrowser class
- Fix to cion server use random UUID
Change-Id: I34bb54779ede5b9e1c9a75688d92e1e58ba34cb9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 10 Nov 2021 05:09:20 +0000 (14:09 +0900)]
Fix to cion server use random UUID
There are some problems at mdnsd when using same UUID in many times.
(service does not discovered well)
This is workaround patch for above problems.
Change-Id: I5e8e317a2c2c135726dab7cd0616515b7f7d6646
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 9 Nov 2021 10:58:11 +0000 (19:58 +0900)]
Rename VineBrowser class
Rename some names to clarify.
VineBrowser -> VineServiceBrowser
OnDpDiscovered() -> OnServiceDiscovered()
Change-Id: I329263266654c302072d9961331e327690f927b2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 9 Nov 2021 05:38:39 +0000 (14:38 +0900)]
Fix managing payload async result callbacks
Fix to managing callbacks with client/server handle.
Change-Id: Iddfe29e62c3bb9db812fbfee317c0bdfb315e832
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 4 Nov 2021 11:07:11 +0000 (20:07 +0900)]
Fix timing issue
Sometimes vine callback invoked at worker thread after releasing
cion resources at main thread.
Change-Id: I87c382a729611a2bb3aab3cdd5c31169f571e489
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 18 Oct 2021 09:39:53 +0000 (18:39 +0900)]
Fix IdleInvoker
Make a class for IdleInvoker and a container class for managing
ids of GSource.
Change-Id: If7b3e33514fd0bbc0d3b0891df7afb60650ec0f3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 27 Oct 2021 07:08:37 +0000 (16:08 +0900)]
Fix VineSession
Cleanup threading code.
Change-Id: I5e84201a109cad6b7f95c3bdd10ffdd2e964c71c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Inkyun Kil [Mon, 1 Nov 2021 23:50:06 +0000 (08:50 +0900)]
Fix static analysis
- SIGNED_TO_BIGGER_UNSIGNED (It can lead to unexpectedly large resulting
value if the original signed value is negative.)
Change-Id: I10a30fbe273e2cdb7d9f98e0a67bcf5e449ae132
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jh9216.park [Wed, 27 Oct 2021 02:04:19 +0000 (22:04 -0400)]
Publish cion java libs
Change-Id: Id85d552630a662e9dc7f50aa948228eb5141eb8c
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Sangyoon Jang [Wed, 13 Oct 2021 09:38:25 +0000 (18:38 +0900)]
Release version 1.1.6
Changes:
- Add checking internet privilege
- Update log message
- Fix VineDiscoverer, VineDp
- Fix client, server, group channel
- Fix build warning
Change-Id: Ib749af628d5b56341e4f16aad09bafa1519d8450
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 13 Oct 2021 08:32:32 +0000 (17:32 +0900)]
Fix build warning
Fix -Werror=cast-function-type
Change-Id: I53416910a4b7c9d82e4817e4007e95aa51214ce8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 13 Oct 2021 04:35:51 +0000 (13:35 +0900)]
Fix client, server, group channel
- Check if discovering or listening before stop.
- Unset vine handlers at destructor.
- Stop discovering at destructor of ClientChannel.
- Check the dp is valid before disconnect.
Change-Id: I2f11dd026db837417d136b57816d7448aeafb81b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 13 Oct 2021 04:34:13 +0000 (13:34 +0900)]
Fix VineDiscoverer, VineDp
- Add UnsetHandlers() method.
Change-Id: Ia77505be95f9c59bd2eb3bc8f13f51daf820d161
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Wed, 13 Oct 2021 08:19:20 +0000 (17:19 +0900)]
Update log message
Change-Id: I1d8375bec8ab62fbf416dda1dcd4e515c8829cec
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Tue, 12 Oct 2021 02:29:49 +0000 (11:29 +0900)]
Add checking internet privilege
Change-Id: I76ea8dbc6bfd086249a3540a49856958ac81f089
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 12 Oct 2021 02:10:16 +0000 (11:10 +0900)]
Release version 1.1.5
Changes:
- Fix doxygen comments
- Fix unhandled invalid parameters
- Fix wrong resource deletion procedure
- Fix ServerChannel
- Fix memory leak
- Fix unhandled invalid parameters
- Fix variable shadowing
- Check peer exist before sending payload
- Fix SharedQueue timing issue
- Fix deallocator mismatch
Change-Id: I45f8814b5dff94f3cdcdd859f5140faf456404c5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Tue, 12 Oct 2021 04:43:40 +0000 (13:43 +0900)]
Fix deallocator mismatch
Change-Id: Id9f6fd133b3efcbc8635fa63058c79315c2a620b
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Thu, 7 Oct 2021 08:43:06 +0000 (17:43 +0900)]
Fix SharedQueue timing issue
- if a message is pushed in the reply_queue_ before calling wait_for(), timeout occurs.
Change-Id: I7c0d992d3f8f48820733766f2b9787961f4ff631
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Fri, 1 Oct 2021 07:52:34 +0000 (16:52 +0900)]
Check peer exist before sending payload
Change-Id: Ibb0afdcab0bf7d1acf4d9c1f2342335eda7abeaa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 30 Sep 2021 10:13:12 +0000 (19:13 +0900)]
Fix variable shadowing
Fix to using different variable names or capturing variables.
Change-Id: I6440efe192125ac8d2ffd2c8042e24235131fccf
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 30 Sep 2021 11:22:22 +0000 (20:22 +0900)]
Fix unhandled invalid parameters
Change-Id: Iecdf70bcc913439c9c22d0f27b9753d39c5819ee
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 28 Sep 2021 03:25:10 +0000 (12:25 +0900)]
Fix memory leak
The ref should be set as 1 when the send payload to with peer info.
Change-Id: I96067ef62256e655aa453b6d4d2aebdd25000266
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 24 Sep 2021 10:38:07 +0000 (19:38 +0900)]
Fix ServerChannel
- Fix to use std::erase() std::remove_if combination to remove item safely
- Capture std::shared_ptr itself instead of using raw pointer
Change-Id: Ib151a9ea52814dca99adb313124ec2a82a6ebf51
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Tue, 28 Sep 2021 01:44:11 +0000 (10:44 +0900)]
Fix wrong resource deletion procedure
Change-Id: I2179ec5f69c42c9faaa9603f7dc46589aa0d9055
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Thu, 23 Sep 2021 11:56:01 +0000 (20:56 +0900)]
Fix unhandled invalid parameters
Change-Id: Ia0788a3d2718306375912f45b2efd5edd73b95b5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 23 Sep 2021 06:17:09 +0000 (15:17 +0900)]
Fix doxygen comments
Change-Id: Ife6616a9cbc56f76251911b04d4411a4a222f3df
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
SukhyungKang [Fri, 17 Sep 2021 06:49:37 +0000 (15:49 +0900)]
Release version 1.1.4
changes:
- Change return error value to match tizen error
- Add remove callback functions
- Fix static analysis
- Change function name
- Fix memory leak
- Add description for cion api
Change-Id: I3403a94929a5c173c969e4b494550483cc72d822
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Sun, 22 Aug 2021 06:54:50 +0000 (15:54 +0900)]
Add description for cion api
Change-Id: I1fbb0a13267af18e6820dcb246155a3ffea019d6
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
jusung [Fri, 17 Sep 2021 05:26:21 +0000 (14:26 +0900)]
Fix memory leak
Change-Id: Id3e42cd199f2b512885cbf0031ebfb50ac61d389
Signed-off-by: jusung <jusung07.son@samsung.com>
SukHyung Kang [Fri, 17 Sep 2021 03:41:14 +0000 (03:41 +0000)]
Merge "Change function name" into tizen
SukhyungKang [Fri, 17 Sep 2021 03:11:36 +0000 (12:11 +0900)]
Change function name
Change-Id: I397294b66ff659e514bf264188da43a10bd6d7bd
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
jusung [Fri, 17 Sep 2021 02:18:30 +0000 (11:18 +0900)]
Fix static analysis
- INCORRECT_PERMISSION
- INVALIDATE_ITERATOR
Change-Id: I6d6543a7e58309ea5e9af60fd58180d67236c5ee
Signed-off-by: jusung <jusung07.son@samsung.com>
SukhyungKang [Thu, 16 Sep 2021 07:23:46 +0000 (16:23 +0900)]
Add remove callback functions
Change-Id: Idab129c323ccbf392c05974e1f29701e2e3feb37
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Wed, 15 Sep 2021 07:42:22 +0000 (16:42 +0900)]
Change return error value to match tizen error
Change-Id: I8b7677d3a13e4538e45af715932af9e25bae0ca4
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Inkyun Kil [Tue, 14 Sep 2021 07:14:13 +0000 (16:14 +0900)]
Release version 1.1.3
changes:
- Change return value to match between enum and exception
- Add const for parameter
- Change return value to match tizen error
- Fix dbus issue for ESD
Change-Id: I4147c20719b0b4101ac76a02c7b1d4e6aefd5ad0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 14 Sep 2021 06:22:19 +0000 (15:22 +0900)]
Fix dbus issue for ESD
Change-Id: Id12b185aaa5cc409c38c582cd7456b712d9f43ed
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
SukhyungKang [Tue, 14 Sep 2021 01:37:02 +0000 (10:37 +0900)]
Change return value to match tizen error
Change-Id: Ib66c208b5514ded7b5934102ada5f88e8f901c56
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Mon, 13 Sep 2021 08:40:00 +0000 (17:40 +0900)]
Add const for parameter
Change-Id: I12025c5f951f307b8687d890ba8d322d8ff5bdfd
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Fri, 10 Sep 2021 14:04:55 +0000 (23:04 +0900)]
Change return value to match between enum and exception
Change-Id: I5fc7984e1927a46fc04a04d82715617645ac34cf
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Inkyun Kil [Mon, 13 Sep 2021 00:07:37 +0000 (09:07 +0900)]
Release version 1.1.2
changes:
- Remove build warning messages
Change-Id: If7ddd5c328678204143cea56cb4f97461c9705a5
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hwankyu Jhun [Fri, 10 Sep 2021 10:09:23 +0000 (19:09 +0900)]
Remove build warning messages
Change-Id: I5dc2338182a7251878d252ce53a5613cc7bb6eef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
SukHyung Kang [Fri, 10 Sep 2021 07:59:38 +0000 (07:59 +0000)]
Merge "Change size parameter to unsigned in type" into tizen
SukhyungKang [Fri, 10 Sep 2021 07:12:47 +0000 (16:12 +0900)]
Change size parameter to unsigned in type
Change-Id: I54fa59b8523bb257b931a0300b5a05b5bdf9f019
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Inkyun Kil [Fri, 10 Sep 2021 06:28:29 +0000 (15:28 +0900)]
Release version 1.1.1
changes:
- Fix typo
- Change callback name to get connected peer info
- Remove duplicated method and fix typo
- Remove result id api
- Fix wrong implementation
- Add return error type
- Fix some codes
Change-Id: Ie0b283f46f140496ca9219d625dd23f7bd90ebcb
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 10 Sep 2021 06:23:37 +0000 (06:23 +0000)]
Merge "Fix some codes" into tizen
Inkyun Kil [Fri, 10 Sep 2021 01:48:14 +0000 (10:48 +0900)]
Fix some codes
- If esd is server_channel, it should generate uuid
- Dbus own code is not necessary
Change-Id: I6be7e6fec7f678304a90886e5cc380e6c9bc5810
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
SukhyungKang [Mon, 6 Sep 2021 04:38:46 +0000 (13:38 +0900)]
Add return error type
Change-Id: I36bd4ddee1e4a092164b852b82e8d236bbc41420
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Tue, 24 Aug 2021 06:14:10 +0000 (15:14 +0900)]
Fix wrong implementation
- add privilege check
- add limit for service and topic name length
- fix wrong return type for error
- fix coding style for C api
- remove unnecessary file
Change-Id: Id395038f5e621c7f96ed3a4902a4019c19b3320b
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
jusung [Fri, 27 Aug 2021 05:08:53 +0000 (14:08 +0900)]
Remove result id api
Change-Id: I9356d7d3ad5c599900c3ced5fda42cfc20031355
Signed-off-by: jusung <jusung07.son@samsung.com>
SukHyung Kang [Tue, 24 Aug 2021 01:45:48 +0000 (01:45 +0000)]
Merge "Remove duplicated method and fix typo" into tizen
SukhyungKang [Mon, 23 Aug 2021 09:14:51 +0000 (18:14 +0900)]
Fix typo
Change-Id: I28f40cd1c77d873d64d368d09bd56c3771ca39be
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Mon, 23 Aug 2021 08:02:44 +0000 (17:02 +0900)]
Remove duplicated method and fix typo
Change-Id: I17b18b0ae8220b0fbf0755efadeaf541ad3b4503
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Mon, 23 Aug 2021 06:36:14 +0000 (15:36 +0900)]
Change callback name to get connected peer info
Change-Id: I21c1261a4b17a966de36d8293e338e4b3368480c
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Mon, 23 Aug 2021 06:21:42 +0000 (15:21 +0900)]
Fix typo
Change-Id: Icece4429a4c269cd1c5acaff95fecc978cb992f6
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Inkyun Kil [Mon, 23 Aug 2021 00:59:50 +0000 (09:59 +0900)]
Release version 1.1.0
changes :
- Discovery ondemand list
- Add ondemandlaunch
- Fix usege of g_idle_add_full
- Fix automerge error
- Add set/get readable name
- Fix bugs
Change-Id: I30be2d95dc865690b64e60f7bd9292135ab04595
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 18 Aug 2021 07:54:08 +0000 (16:54 +0900)]
Fix bugs
- Remove needless codes for ondemand launch (sync->async)
- Add omit break
Change-Id: I235dd2aeaade75faafb656b990578b801a13bd7a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
SukHyung, Kang [Fri, 9 Jul 2021 03:49:42 +0000 (12:49 +0900)]
Add set/get readable name
Change-Id: Ie448506e88d20858f477e7153556e4ff2524de42
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
jusung [Thu, 19 Aug 2021 08:27:05 +0000 (17:27 +0900)]
Fix automerge error
Change-Id: Ia239fdf3fe24361c976029027d79e1d5d7d6e430
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Tue, 27 Jul 2021 06:55:55 +0000 (15:55 +0900)]
Fix usage of g_idle_add_full
When idle callback invoked, check whether channel object expired or not.
Change-Id: Ia867e09847c8f1fd6a90b8efa3e49e66c101feb4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Inkyun Kil [Tue, 29 Jun 2021 04:01:44 +0000 (13:01 +0900)]
Add ondemandlaunch
Change-Id: I4249c134d841ebd017db3759a78aef87ab5cdf11
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 3 May 2021 01:40:00 +0000 (10:40 +0900)]
Discovery ondemand list
Releated Patch : https://review.tizen.org/gerrit/c/platform/core/appfw/event-system/+/258545
Change-Id: Ic40b2d3920f889f1afe4c1bcafa0930b056ffa26
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hyunho [Mon, 9 Aug 2021 02:30:14 +0000 (11:30 +0900)]
Release version 1.0.1
Changes:
- Initialize member values
- Fix signed to bigger unsigned bug
- Add missing break
- Check file remove function's return value
- Fix memory leak
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Change-Id: I377db517ec8168a154fbeecfe60e6f470641c004
Hyunho Kang [Mon, 9 Aug 2021 02:28:32 +0000 (02:28 +0000)]
Merge "Check file remove function's return value" into tizen
Hyunho Kang [Mon, 9 Aug 2021 02:28:17 +0000 (02:28 +0000)]
Merge "Add missing break" into tizen
Hyunho [Mon, 9 Aug 2021 01:41:16 +0000 (10:41 +0900)]
Fix memory leak
Change-Id: Iedf2bbac10e729233e823463d9722abb2d048ea8
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 9 Aug 2021 02:27:48 +0000 (02:27 +0000)]
Merge "Fix signed to bigger unsigned bug" into tizen
Hyunho [Mon, 9 Aug 2021 02:15:16 +0000 (11:15 +0900)]
Check file remove function's return value
Change-Id: Ie304f0f406c666efb6b41904f12a15019710e5ec
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 9 Aug 2021 02:09:43 +0000 (11:09 +0900)]
Add missing break
Change-Id: I10d66954b9037c79223fc846b97665b90018365b
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 9 Aug 2021 01:29:37 +0000 (10:29 +0900)]
Fix signed to bigger unsigned bug
Change-Id: I86933d01775ef22e186a31c409cfcc7bfeb482ef
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 9 Aug 2021 00:54:59 +0000 (09:54 +0900)]
Initialize member values
Change-Id: I7358f3bea5cc8c35d257ea2e40608eceb09884b1
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
SukhyungKang [Fri, 6 Aug 2021 01:35:45 +0000 (10:35 +0900)]
Release version 1.0.0
Change-Id: I3dcd1101e11d479f418e27a7ab30496f398dbf9b
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Sangyoon Jang [Thu, 5 Aug 2021 05:58:37 +0000 (14:58 +0900)]
Remove checking Wi-Fi status
Currently, the channel cannot detect connection lost after channel created.
Instead, cion(cine) will return error when the connection lost.
Change-Id: I99c43b7336e731a60f200efd9cc131946f09b534
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Wed, 21 Jul 2021 06:17:07 +0000 (15:17 +0900)]
Change broadcast channel to group channel
Change-Id: Idf36096af3a87b43c3fea1efb9362197d953e1ad
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 21 Jul 2021 06:08:48 +0000 (15:08 +0900)]
Revert "Change broadcast channel to group channel"
This reverts commit
1941567c4bc41c413d854362b1b82dda89d25484.
Change-Id: Ia0e00266a6d1a12ec4eb7f6d065b78174312adc8
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 21 Jul 2021 06:02:11 +0000 (15:02 +0900)]
Change broadcast channel to group channel
Change-Id: Id1703d6dee6aaeea969d55f5fe3d4441b58dfb71
Signed-off-by: jusung <jusung07.son@samsung.com>
Inkyun Kil [Thu, 1 Jul 2021 01:33:51 +0000 (10:33 +0900)]
Add include <stdint.h> for uint64_t
To use 'cion_payload.h', make sure of header
Change-Id: Iae3097ad71a163435202a698cf37b1a86eb791e0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Sangyoon Jang [Wed, 14 Jul 2021 08:38:51 +0000 (17:38 +0900)]
Remove tab
Use space instead of tab for consistency.
Change-Id: I3610dab8135a3eeb6bc3f3512d250777835cb521
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 6 Jul 2021 08:56:08 +0000 (17:56 +0900)]
Use separated dp when sending synchronously
Change-Id: I619e4d4d5efdff094f8902ad7d9b7d868c20bee5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
SukHyung Kang [Mon, 5 Jul 2021 05:35:47 +0000 (05:35 +0000)]
Merge "Gets uuid from esd" into tizen
SukHyung, Kang [Fri, 25 Jun 2021 09:21:32 +0000 (18:21 +0900)]
Gets uuid from esd
Change-Id: I20dadfed66188940c3a1c6567c981e76b6868aed
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Sangyoon Jang [Tue, 29 Jun 2021 08:19:02 +0000 (17:19 +0900)]
Fix name of VineInterface callbacks
To make more clear against callbacks related to PeerInfo.
- OnTerminated -> OnDpTerminated
- OnOpened -> OnDpOpened
- OnReceived -> OnDpReceived
- OnAccepted -> OnDpAccepted
- OnDiscovered -> OnDpDiscovered
- OnJoined -> OnDpJoined
- OnLeft -> OnDpLeft
Change-Id: Ia931747a7211d1a4dcf32c082d6d3d46c8afe220
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 29 Jun 2021 03:28:50 +0000 (12:28 +0900)]
Optimize some parameters
Use reference or move semantics instead of copy.
Change-Id: Iab4c4f5981a7982290843b497b71d6f353f665d2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 28 Jun 2021 10:06:03 +0000 (19:06 +0900)]
Improve readability of ServerChannel
- Move all implementation into Impl class
- Fix ordering of methods
- Remove duplicated methods
- Fix typo
Change-Id: I0760ca593524f4c31a541ba06252f94b68e69c00
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hyunho [Fri, 25 Jun 2021 06:58:03 +0000 (15:58 +0900)]
Remove error callback
Change-Id: Iba1acf29877ae5c219991c010f07a6624fe7e08a
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 08:57:24 +0000 (17:57 +0900)]
Fix build warnings
Change-Id: I047a10b1a88a424663f96808321e010e4dbfca66
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Mon, 28 Jun 2021 00:54:25 +0000 (09:54 +0900)]
Use temporary variable
While retrieving the peer list in SendPayloadAsync() method,
the 'to' variable should be used.
Change-Id: I0506ed5a4b925b5fff882205f971ce8be6851606
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 08:21:33 +0000 (17:21 +0900)]
Fix crash when sending payload async
cion server/client may not provide callback for sending payload async.
Change-Id: I5956b4c744000747fa744a2ce72e23a92499585b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 07:08:36 +0000 (16:08 +0900)]
Remove duplicated code
Fix ServerChannel::SendPayloadAsync().
Change-Id: I90e98cdd4486f0f21f9d63f59fd771b09c8a000f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 05:30:28 +0000 (14:30 +0900)]
Fix coding style
Change-Id: Ibc6034f7b1918b3887a3ef1562827e9d829dc363
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 22 Jun 2021 08:27:44 +0000 (17:27 +0900)]
Improve readability of ClientChannel
Move all implementation into Impl class.
Fix ordering of methods.
Change-Id: I20e8f783e1f496572c4af475245b2609515dbd14
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hyunho [Wed, 23 Jun 2021 06:58:00 +0000 (15:58 +0900)]
Remove duplication
Change-Id: I93921fbfde6c0a6fac549c2e636d21eed6ff78c5
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
jusung [Tue, 22 Jun 2021 01:01:28 +0000 (10:01 +0900)]
Fix build error
- Resolve IP based on address family
Change-Id: I6a0812fe55e210a91235d6525bdaafddb46dfd62
Signed-off-by: jusung <jusung07.son@samsung.com>
Hyunho [Mon, 21 Jun 2021 06:36:23 +0000 (15:36 +0900)]
Add missing param name
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 21 Jun 2021 06:35:14 +0000 (15:35 +0900)]
Use uint64_t instead of long
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 21 Jun 2021 02:18:07 +0000 (11:18 +0900)]
Add get payload id capi
Signed-off-by: Hyunho <hhstark.kang@samsung.com>