Package org.eclipse.ecf.core.sharedobject

Examples of org.eclipse.ecf.core.sharedobject.ISharedObjectContext.sendCreate()


 
  protected void activated() {
    ISharedObjectContext ctx = config.getContext();
    if (isPrimary()) {
      try {
        ctx.sendCreate(containerID, createReplicaDescription());
      } catch (IOException e) {
        callback.requestFailed(e);
        ctx.getSharedObjectManager().removeSharedObject(config.getSharedObjectID());
      }
View Full Code Here


        subscriptions = new HashSet();

      ISharedObjectContext ctx = config.getContext();
      try {
        if (subscriptions.add(containerID)) {
          ctx.sendCreate(containerID, createRemoteAgentDescription(requestorID));
        } else {
          SubscribeMessage msg = new SubscribeMessage(requestorID);
          ctx.sendMessage(containerID, SerializationUtil.serialize(msg));
        }
      } catch (IOException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.