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; }
public void testSendMessage(ExternalContext context, Message msg) { s_lib.CExternalEntry_testSendMessage( JnaExternalContext.toNative(context), JnaExternalContext.toNative(msg)); }
public void testFailureReporting(ExternalContext context, String msg) { s_lib.CExternalEntry_testFailureReporting(JnaExternalContext.toNative(context), msg); }
public void testProgressReporting(ExternalContext context, float percentDone, String msg) { s_lib.CExternalEntry_testProgressReporting( JnaExternalContext.toNative(context), percentDone, msg); }
public void testLogging(ExternalContext context, LogLevel level, String msg) { JnaExternalContext jnaContext = (JnaExternalContext) context; s_lib.CExternalEntry_testLogging(JnaExternalContext.toNative(context), level.toString(), msg); }