summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-09 05:08:18 (EDT)
committerEike Stepper2007-10-09 05:08:18 (EDT)
commit9f4563d8f41de0348870c45e160222dc8dc8761d (patch)
tree2946b9bcc84a89074f96d38c10239e5be1c9b758
parent2fccaed57d28b7f995af8d5ec4f557fa0ae947a5 (diff)
downloadcdo-9f4563d8f41de0348870c45e160222dc8dc8761d.zip
cdo-9f4563d8f41de0348870c45e160222dc8dc8761d.tar.gz
cdo-9f4563d8f41de0348870c45e160222dc8dc8761d.tar.bz2
[205668] Provide buddies example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205668
-rw-r--r--plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/buddies/IBuddyCollaboration.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/internal/buddies/BuddyCollaboration.java6
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/buddies/IBuddyCollaboration.java b/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/buddies/IBuddyCollaboration.java
index 6f1427a..94b5052 100644
--- a/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/buddies/IBuddyCollaboration.java
+++ b/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/buddies/IBuddyCollaboration.java
@@ -11,6 +11,7 @@
package org.eclipse.net4j.buddies;
import org.eclipse.net4j.buddies.protocol.ICollaboration;
+import org.eclipse.net4j.buddies.protocol.IFacility;
/**
* @author Eike Stepper
@@ -18,4 +19,6 @@ import org.eclipse.net4j.buddies.protocol.ICollaboration;
public interface IBuddyCollaboration extends ICollaboration
{
public IBuddySession getSession();
+
+ public IFacility installFacility(String facilityType);
}
diff --git a/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/internal/buddies/BuddyCollaboration.java b/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/internal/buddies/BuddyCollaboration.java
index 8222363..ba8929d 100644
--- a/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/internal/buddies/BuddyCollaboration.java
+++ b/plugins/org.eclipse.net4j.buddies/src/org/eclipse/net4j/internal/buddies/BuddyCollaboration.java
@@ -15,6 +15,7 @@ import org.eclipse.net4j.buddies.IBuddySession;
import org.eclipse.net4j.buddies.internal.protocol.Collaboration;
import org.eclipse.net4j.buddies.internal.protocol.Message;
import org.eclipse.net4j.buddies.internal.protocol.MessageNotification;
+import org.eclipse.net4j.buddies.protocol.IFacility;
import org.eclipse.net4j.buddies.protocol.IMessage;
import org.eclipse.net4j.util.WrappedException;
@@ -37,6 +38,11 @@ public class BuddyCollaboration extends Collaboration implements IBuddyCollabora
return session;
}
+ public IFacility installFacility(String facilityType)
+ {
+ return null;
+ }
+
public void sendMessage(IMessage message)
{
if (message instanceof Message)