default:
ThrowOcException(OC_STACK_INVALID_PARAM, "Unexpected service type");
return OC::ServiceType::OutOfProc;
- };
+ }
}
static OC::ModeType getModeType(JNIEnv *env, int type)
default:
ThrowOcException(OC_STACK_INVALID_PARAM, "Unexpected mode type");
return OC::ModeType::Both;
- };
+ }
}
static OC::QualityOfService getQOS(JNIEnv *env, int type)
default:
ThrowOcException(OC_STACK_INVALID_PARAM, "Unexpected quality of service");
return OC::QualityOfService::NaQos;
- };
+ }
}
static OC::ObserveType getObserveType(JNIEnv *env, int type)
default:
ThrowOcException(OC_STACK_INVALID_PARAM, "Unexpected observe type");
return OC::ObserveType::ObserveAll;
- };
+ }
}
static OCEntityHandlerResult getOCEntityHandlerResult(JNIEnv *env, int type)
default:
ThrowOcException(OC_STACK_INVALID_PARAM, "Unexpected OCEntityHandlerResult");
return OCEntityHandlerResult::OC_EH_ERROR;
- };
+ }
}
static std::string stackResultToStr(const int result)