| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright 2011 Google Inc. |
| 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 * you may not use this file except in compliance with the License. |
| 6 * You may obtain a copy of the License at |
| 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software |
| 11 * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 * See the License for the specific language governing permissions and |
| 14 * limitations under the License. |
| 15 */ |
| 16 package com.google.ipc.invalidation.common; |
| 17 |
| 18 /** Various constants common to clients and servers used in version 2 of the Ti
cl. */ |
| 19 public class BaseCommonInvalidationConstants { |
| 20 /** Major version of the client library. */ |
| 21 public static final int CLIENT_MAJOR_VERSION = 3; |
| 22 |
| 23 /** |
| 24 * Minor version of the client library, defined to be equal to the datestamp o
f the build |
| 25 * (e.g. 20130401). |
| 26 */ |
| 27 public static final int CLIENT_MINOR_VERSION = BuildConstants.BUILD_DATESTAMP; |
| 28 |
| 29 /** Major version of the protocol between the client and the server. */ |
| 30 public static final int PROTOCOL_MAJOR_VERSION = 3; |
| 31 |
| 32 /** Minor version of the protocol between the client and the server. */ |
| 33 public static final int PROTOCOL_MINOR_VERSION = 2; |
| 34 |
| 35 /** Major version of the client config. */ |
| 36 public static final int CONFIG_MAJOR_VERSION = 3; |
| 37 |
| 38 /** Minor version of the client config. */ |
| 39 public static final int CONFIG_MINOR_VERSION = 2; |
| 40 } |
| OLD | NEW |