/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 
 */
package fr.hhdev.ocelot;

/**
 * Constants Class
 *
 * @author hhfrancois
 */
public interface Constants {
	
	String OCELOT_SERVICES_JS = "ocelot-services.js";

	interface Message {

		String ID = "id";
		String DATASERVICE = "ds";
		String OPERATION = "op";
		String ARGUMENTS = "args";
		String DEADLINE = "deadline";
		String RESULT = "result";
		String FAULT = "fault";
	}

	interface Resolver {

		String POJO = "pojo";
		String CDI = "cdi";
		String EJB = "ejb";
	}

	interface Cache {
		String CLEANCACHE_TOPIC = "ocelot-cleancache";
	}
	
	interface Command {

		// Attention si on modifie ces deux varaibles, elles sont aussi dans ocelot-core.js en dur
		String COMMAND = "cmd";
		String MESSAGE = "msg";

		interface Value {

			String SUBSCRIBE = "subscribe";
			String UNSUBSCRIBE = "unsubscribe";
			String CALL = "call";
		}
	}
}

@@ -741,16 +741,38 @@
 cache%22;%0A
+%09%09String ALL = %22all%22;%0A
 %09%7D%0A%09%0A%09in

remove all cache on client constant