X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fprocedure%2FAsyncProcedure.java;h=4d70a4a49fbee960ab335a2053676710e25b0391;hb=b2bb3ff110b5bf929b6d676f0122a15a43358440;hp=6b14939a19404e13ee08001372a6ec3c7be33b28;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/procedure/AsyncProcedure.java b/bundles/org.simantics.db/src/org/simantics/db/procedure/AsyncProcedure.java index 6b14939a1..4d70a4a49 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/procedure/AsyncProcedure.java +++ b/bundles/org.simantics.db/src/org/simantics/db/procedure/AsyncProcedure.java @@ -1,26 +1,26 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db.procedure; - -import org.simantics.db.AsyncReadGraph; - -/* - * - * Execute or exception is called exactly once. - * - */ -public interface AsyncProcedure { - - void execute(AsyncReadGraph graph, Result result); - void exception(AsyncReadGraph graph, Throwable throwable); - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db.procedure; + +import org.simantics.db.AsyncReadGraph; + +/* + * + * Execute or exception is called exactly once. + * + */ +public interface AsyncProcedure { + + void execute(AsyncReadGraph graph, Result result); + void exception(AsyncReadGraph graph, Throwable throwable); + +}