resource: Add test for ConstructResourceObject without coap scheme
[platform/upstream/iotivity.git] / service / things-manager / sdk / java / jni / tm / inc / jni_group_synchronization_callbacks.h
1 /* *****************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20
21 /**
22  * @file
23  * This file contains the declaration of GroupSynchronizationCallbacks class.
24  */
25
26 #ifndef JNI_GROUP_SYNCHRONIZATION_CALLBACKS_H_
27 #define JNI_GROUP_SYNCHRONIZATION_CALLBACKS_H_
28
29 #include <string>
30
31 #include "GroupSynchronization.h"
32
33 /**
34  * This class provides callback function for group Synchronization.
35  */
36 class GroupSynchronizationCallbacks
37 {
38
39     public:
40         GroupSynchronizationCallbacks() {}
41         virtual ~GroupSynchronizationCallbacks() {}
42
43         /**
44          * This callback method is called to notify whether group is found or not.
45          *
46          * @param resource - Resource URI
47          */
48         static void onFoundGroup(std::shared_ptr<OC::OCResource> resource);
49
50
51 };
52 #endif //JNI_GROUP_SYNCHRONIZATION_CALLBACKS_H_