Examples of WaveletChannelTerminatorProtoImpl


Examples of org.waveprotocol.wave.concurrencycontrol.proto.WaveletChannelTerminatorProtoImpl

      setCommitVersion(new ProtocolHashedVersionProtoImpl(message.getCommitVersion()));
    } else {
      clearCommitVersion();
    }
    if (message.hasTerminator()) {
      setTerminator(new WaveletChannelTerminatorProtoImpl(message.getTerminator()));
    } else {
      clearTerminator();
    }
  }
View Full Code Here

Examples of org.waveprotocol.wave.concurrencycontrol.proto.WaveletChannelTerminatorProtoImpl

  }

  @Override
  public WaveletChannelTerminatorProtoImpl getTerminator() {
    switchToProto();
    return new WaveletChannelTerminatorProtoImpl(proto.getTerminator());
  }
View Full Code Here

Examples of org.waveprotocol.wave.concurrencycontrol.proto.WaveletChannelTerminatorProtoImpl

  /** Get or create a WaveletChannelTerminatorProtoImpl from a WaveletChannelTerminator. */
  private WaveletChannelTerminatorProtoImpl getOrCreateWaveletChannelTerminatorProtoImpl(WaveletChannelTerminator message) {
    if (message instanceof WaveletChannelTerminatorProtoImpl) {
      return (WaveletChannelTerminatorProtoImpl) message;
    } else {
      WaveletChannelTerminatorProtoImpl messageImpl = new WaveletChannelTerminatorProtoImpl();
      messageImpl.copyFrom(message);
      return messageImpl;
    }
  }
View Full Code Here

Examples of org.waveprotocol.wave.concurrencycontrol.proto.WaveletChannelTerminatorProtoImpl

    }
    if (jsonObject.has("4")) {
      JsonElement elem = jsonObject.get("4");
      if (!elem.isJsonNull()) {
        {
          WaveletChannelTerminatorProtoImpl payload = new WaveletChannelTerminatorProtoImpl();
          GsonUtil.extractJsonObject(payload, elem, gson, raw);
          setTerminator(payload);
        }
      }
    }
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.