Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-06-03 20:48:09 -0400
committerslewis2006-06-03 20:48:09 -0400
commitbcac46f8beda342a75f15e898832972a417145ff (patch)
tree674247ecb1e0cb03074bfde96a4a9b0091108ed0
parentd215728fbd1166b39cb9427d057be1ba65559339 (diff)
downloadorg.eclipse.ecf-bcac46f8beda342a75f15e898832972a417145ff.tar.gz
org.eclipse.ecf-bcac46f8beda342a75f15e898832972a417145ff.tar.xz
org.eclipse.ecf-bcac46f8beda342a75f15e898832972a417145ff.zip
Added XMPPSORobotApplication
-rw-r--r--examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/XMPPSORobotApplication.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/XMPPSORobotApplication.java b/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/XMPPSORobotApplication.java
index ac4a88e3a..7688be300 100644
--- a/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/XMPPSORobotApplication.java
+++ b/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/XMPPSORobotApplication.java
@@ -77,14 +77,14 @@ public class XMPPSORobotApplication implements IPlatformRunnable, IMessageReceiv
running = true;
int count = 0;
while (running && count++ < 10) {
- sendSOMessage(count+" hello there");
+ sendSOMessage();
wait(10000);
}
}
- protected void sendSOMessage(String msg) {
+ protected void sendSOMessage() {
if (sharedObject != null) {
- sharedObject.sendMessageTo(client.getID(targetIMUser),msg);
+ sharedObject.sendMessageTo(client.getID(targetIMUser),"hello there");
}
}
protected void createTrivialSharedObjectForContainer(ISharedObjectContainer soContainer) throws ECFException {

Back to the top