Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-09-12 01:22:17 -0400
committerslewis2007-09-12 01:22:17 -0400
commit1fa4c1a0deb21cadc033e2b2ac0701e452acf4be (patch)
tree1f0f7e7119b094c1008975d84e19c6b86ee84c23
parent37e9d077ebd985a5cfd906f629b5c5823339a97b (diff)
downloadorg.eclipse.ecf-1fa4c1a0deb21cadc033e2b2ac0701e452acf4be.tar.gz
org.eclipse.ecf-1fa4c1a0deb21cadc033e2b2ac0701e452acf4be.tar.xz
org.eclipse.ecf-1fa4c1a0deb21cadc033e2b2ac0701e452acf4be.zip
Changed name of AsynchResult to AsyncResult. Abstracted public API for AsyncResult to IAsyncResult. Added method to IRemoteService.callAsynch that returns IAsyncResult. Implemented new method in org.eclipse.ecf.provider.remoteservice. Added test case for testing new API.
-rw-r--r--framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/ISharedObjectCallEvent.java4
-rw-r--r--framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/SharedObjectCallEvent.java10
2 files changed, 7 insertions, 7 deletions
diff --git a/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/ISharedObjectCallEvent.java b/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/ISharedObjectCallEvent.java
index 42bd2c868..e1c12c4b2 100644
--- a/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/ISharedObjectCallEvent.java
+++ b/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/ISharedObjectCallEvent.java
@@ -8,8 +8,8 @@
******************************************************************************/
package org.eclipse.ecf.core.sharedobject.events;
-import org.eclipse.ecf.core.util.AsynchResult;
+import org.eclipse.ecf.core.util.IAsyncResult;
public interface ISharedObjectCallEvent extends ISharedObjectEvent {
- AsynchResult getAsynchResult();
+ IAsyncResult getAsyncResult();
} \ No newline at end of file
diff --git a/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/SharedObjectCallEvent.java b/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/SharedObjectCallEvent.java
index 324f8aba4..295739a16 100644
--- a/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/SharedObjectCallEvent.java
+++ b/framework/bundles/org.eclipse.ecf.sharedobject/src/org/eclipse/ecf/core/sharedobject/events/SharedObjectCallEvent.java
@@ -12,8 +12,8 @@
package org.eclipse.ecf.core.sharedobject.events;
import org.eclipse.ecf.core.identity.ID;
-import org.eclipse.ecf.core.util.AsynchResult;
import org.eclipse.ecf.core.util.Event;
+import org.eclipse.ecf.core.util.IAsyncResult;
public class SharedObjectCallEvent implements ISharedObjectCallEvent {
private static final long serialVersionUID = 3904674977264250933L;
@@ -22,9 +22,9 @@ public class SharedObjectCallEvent implements ISharedObjectCallEvent {
Event event;
- AsynchResult result;
+ IAsyncResult result;
- public SharedObjectCallEvent(ID sender, Event evt, AsynchResult res) {
+ public SharedObjectCallEvent(ID sender, Event evt, IAsyncResult res) {
super();
this.sender = sender;
this.event = evt;
@@ -34,9 +34,9 @@ public class SharedObjectCallEvent implements ISharedObjectCallEvent {
/*
* (non-Javadoc)
*
- * @see org.eclipse.ecf.core.events.ISharedObjectCallEvent#getAsynchResult()
+ * @see org.eclipse.ecf.core.events.ISharedObjectCallEvent#getAsyncResult()
*/
- public AsynchResult getAsynchResult() {
+ public IAsyncResult getAsyncResult() {
return result;
}

Back to the top