extern "C" {
#endif
- void CAManagerConnectionStateChangedCB(CATransportAdapter_t adapter,
- const char *remote_address, bool connected);
+ void CAManagerConnectionStateChangedCB(const CAEndpoint_t *info, bool connected);
void CAManagerAdapterStateChangedCB(CATransportAdapter_t adapter, bool enabled);
JNIEXPORT void JNICALL Java_org_iotivity_ca_CaInterface_setLeScanIntervalTimeImpl
(JNIEnv *, jclass, jint, jint);
+ /*
+ * Class: org_iotivity_ca_CaInterface
+ * Method: setCipherSuiteImpl
+ * Signature: (Lorg/iotivity/ca/OicCipher;Lorg/iotivity/ca/CATransportAdapter;)I
+ */
+ JNIEXPORT jint JNICALL Java_org_iotivity_ca_CaInterface_setCipherSuiteImpl
+ (JNIEnv *, jclass, jint, jint);
+
+ /*
+ * Class: org_iotivity_ca_CaInterface
+ * Method: disconnectTCPSessionImpl
+ * Signature: (Ljava/lang/String;II)I
+ */
+ JNIEXPORT jint JNICALL Java_org_iotivity_ca_CaInterface_disconnectTCPSessionImpl
+ (JNIEnv *, jclass, jstring, jint, jint);
+
#ifdef __cplusplus
}
#endif