diff options
Diffstat (limited to 'plugins/org.eclipse.net4j.buddies.server/src/org')
11 files changed, 8 insertions, 14 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/BuddyAdmin.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/BuddyAdmin.java index 46f14a5e04..ea11e24792 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/BuddyAdmin.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/BuddyAdmin.java @@ -181,7 +181,7 @@ public class BuddyAdmin extends CollaborationContainer implements IBuddyAdmin, I { invitations.remove(buddy); BuddiesServerProtocol protocol = (BuddiesServerProtocol)buddy.getSession().getProtocol(); - new CollaborationInitiatedNotification(protocol, collaborationID, invitations, null).send(); + new CollaborationInitiatedNotification(protocol, collaborationID, invitations, null).sendAsync(); } catch (Exception ex) { @@ -219,7 +219,7 @@ public class BuddyAdmin extends CollaborationContainer implements IBuddyAdmin, I try { BuddiesServerProtocol protocol = (BuddiesServerProtocol)session.getProtocol(); - new BuddyRemovedNotification(protocol, userID).send(); + new BuddyRemovedNotification(protocol, userID).sendAsync(); } catch (Exception ex) { @@ -245,7 +245,7 @@ public class BuddyAdmin extends CollaborationContainer implements IBuddyAdmin, I if (!ObjectUtil.equals(session.getSelf(), e.getBuddy())) { BuddiesServerProtocol protocol = (BuddiesServerProtocol)session.getProtocol(); - new BuddyStateNotification(protocol, e.getBuddy().getUserID(), e.getNewState()).send(); + new BuddyStateNotification(protocol, e.getBuddy().getUserID(), e.getNewState()).sendAsync(); } } catch (Exception ex) diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddiesServerProtocol.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddiesServerProtocol.java index afd49db81c..00884493eb 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddiesServerProtocol.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddiesServerProtocol.java @@ -70,7 +70,7 @@ public class BuddiesServerProtocol extends SignalProtocol<ServerSession> /** * @author Eike Stepper */ - public static class Factory extends org.eclipse.net4j.protocol.ServerProtocolFactory + public static class Factory extends org.eclipse.spi.net4j.ServerProtocolFactory { public Factory() { diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyAddedNotification.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyAddedNotification.java index f792389afe..a578ee725c 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyAddedNotification.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyAddedNotification.java @@ -15,7 +15,6 @@ import org.eclipse.net4j.signal.Request; import org.eclipse.net4j.signal.SignalProtocol; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyRemovedNotification.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyRemovedNotification.java index befbea90cc..e7d00cdfca 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyRemovedNotification.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/BuddyRemovedNotification.java @@ -15,7 +15,6 @@ import org.eclipse.net4j.signal.Request; import org.eclipse.net4j.signal.SignalProtocol; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/FacilityInstalledNotification.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/FacilityInstalledNotification.java index 6de49f2858..993df21249 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/FacilityInstalledNotification.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/FacilityInstalledNotification.java @@ -14,7 +14,6 @@ import org.eclipse.net4j.buddies.internal.common.protocol.ProtocolConstants; import org.eclipse.net4j.signal.Request; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InitiateCollaborationIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InitiateCollaborationIndication.java index 3a284838be..e9823797cd 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InitiateCollaborationIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InitiateCollaborationIndication.java @@ -20,7 +20,6 @@ import org.eclipse.net4j.signal.IndicationWithResponse; import org.eclipse.net4j.util.io.ExtendedDataInputStream; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java index a3b09836f7..610e1fc633 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java @@ -23,7 +23,6 @@ import org.eclipse.net4j.util.container.IPluginContainer; import org.eclipse.net4j.util.io.ExtendedDataInputStream; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ @@ -68,7 +67,7 @@ public class InstallFacilityIndication extends IndicationWithResponse try { BuddiesServerProtocol protocol = (BuddiesServerProtocol)buddy.getSession().getProtocol(); - new FacilityInstalledNotification(protocol, collaborationID, facilityType).send(); + new FacilityInstalledNotification(protocol, collaborationID, facilityType).sendAsync(); } catch (Exception ex) { diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InviteBuddiesIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InviteBuddiesIndication.java index b3cef41f52..88962315a5 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InviteBuddiesIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InviteBuddiesIndication.java @@ -79,7 +79,7 @@ public class InviteBuddiesIndication extends Indication try { BuddiesServerProtocol protocol = (BuddiesServerProtocol)buddy.getSession().getProtocol(); - new CollaborationInitiatedNotification(protocol, collaborationID, set, facilityTypes).send(); + new CollaborationInitiatedNotification(protocol, collaborationID, set, facilityTypes).sendAsync(); } catch (Exception ex) { diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/LoadAccountIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/LoadAccountIndication.java index 15d9e48038..05febd8171 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/LoadAccountIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/LoadAccountIndication.java @@ -18,7 +18,6 @@ import org.eclipse.net4j.signal.IndicationWithResponse; import org.eclipse.net4j.util.io.ExtendedDataInputStream; import org.eclipse.net4j.util.io.ExtendedDataOutputStream; - /** * @author Eike Stepper */ diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/OpenSessionIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/OpenSessionIndication.java index 22a8ff383b..53b1a9373a 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/OpenSessionIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/OpenSessionIndication.java @@ -90,7 +90,7 @@ public class OpenSessionIndication extends IndicationWithResponse { try { - new BuddyAddedNotification(protocol, account.getUserID()).send(); + new BuddyAddedNotification(protocol, account.getUserID()).sendAsync(); } catch (Exception ex) { diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/ServerCollaborationLeftIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/ServerCollaborationLeftIndication.java index 60dc41cd9b..2e1493c6d8 100644 --- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/ServerCollaborationLeftIndication.java +++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/ServerCollaborationLeftIndication.java @@ -44,7 +44,7 @@ public class ServerCollaborationLeftIndication extends CollaborationLeftIndicati try { BuddiesServerProtocol protocol = (BuddiesServerProtocol)buddy.getSession().getProtocol(); - new CollaborationLeftNotification(protocol, collaboration.getID(), buddy.getUserID()).send(); + new CollaborationLeftNotification(protocol, collaboration.getID(), buddy.getUserID()).sendAsync(); } catch (Exception ex) { |