コード例 #1
0
 public boolean executeAlgorithm(
     String name, ExternalAlgorithmData data, ExternalContext context) {
   byte rc =
       s_lib.CExternalEntry_executeAlgorithm(
           name, JnaExternalAlgorithmData.toNative(data), JnaExternalContext.toNative(context));
   return rc == 1;
 }
コード例 #2
0
 public void testSendMessage(ExternalContext context, Message msg) {
   s_lib.CExternalEntry_testSendMessage(
       JnaExternalContext.toNative(context), JnaExternalContext.toNative(msg));
 }
コード例 #3
0
 public void testFailureReporting(ExternalContext context, String msg) {
   s_lib.CExternalEntry_testFailureReporting(JnaExternalContext.toNative(context), msg);
 }
コード例 #4
0
 public void testProgressReporting(ExternalContext context, float percentDone, String msg) {
   s_lib.CExternalEntry_testProgressReporting(
       JnaExternalContext.toNative(context), percentDone, msg);
 }
コード例 #5
0
 public void testLogging(ExternalContext context, LogLevel level, String msg) {
   JnaExternalContext jnaContext = (JnaExternalContext) context;
   s_lib.CExternalEntry_testLogging(JnaExternalContext.toNative(context), level.toString(), msg);
 }