/*
 * RED5 Open Source Flash Server - https://github.com/Red5/
 * 
 * Copyright 2006-2015 by respective authors (see below). All rights reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.red5.compatibility.flex.messaging.messages;

/**
 * Constants for the flex compatibility messages.
 * 
 * @author The Red5 Project
 * @author Joachim Bauch (jojo@struktur.de)
 */
public class Constants {

	/** Operation id of register command. */
	public static final int SUBSCRIBE_OPERATION = 0;

	public static final int UNSUBSCRIBE_OPERATION = 1;

	/** Operation id of poll command. */
	public static final int POLL_OPERATION = 2;

	/** Update given attributes from a data message. */
	public static final int DATA_OPERATION_UPDATE_ATTRIBUTES = 3;

	public static final int CLIENT_SYNC_OPERATION = 4;

	/** Operation id of ping commands. */
	public static final int CLIENT_PING_OPERATION = 5;

	/** Update destination based on nested DataMessage packet. */
	public static final int DATA_OPERATION_UPDATE = 7;

	public static final int CLUSTER_REQUEST_OPERATION = 7;

	/** Operation id of authentication commands. */
	public static final int LOGIN_OPERATION = 8;

	public static final int LOGOUT_OPERATION = 9;

	/** Set all attributes from a data message. */
	public static final int DATA_OPERATION_SET = 10;

	public static final int SUBSCRIPTION_INVALIDATE_OPERATION = 10;

	public static final int MULTI_SUBSCRIBE_OPERATION = 11;

	public static final int UNKNOWN_OPERATION = 10000;

}

@@ -942,25 +942,28 @@
 stants %7B%0D%0A%0D%0A
-%09
+    
 /** Operatio
@@ -984,33 +984,36 @@
 er command. */%0D%0A
-%09
+    
 public static fi
@@ -1044,25 +1044,28 @@
 ION = 0;%0D%0A%0D%0A
-%09
+    
 public stati
@@ -1102,25 +1102,28 @@
 ION = 1;%0D%0A%0D%0A
-%09
+    
 /** Operatio
@@ -1144,25 +1144,28 @@
 ommand. */%0D%0A
-%09
+    
 public stati
@@ -1195,25 +1195,28 @@
 ION = 2;%0D%0A%0D%0A
-%09
+    
 /** Update g
@@ -1248,33 +1248,36 @@
 ta message. */%0D%0A
-%09
+    
 public static fi
@@ -1321,25 +1321,28 @@
 TES = 3;%0D%0A%0D%0A
-%09
+    
 public stati
@@ -1379,25 +1379,28 @@
 ION = 4;%0D%0A%0D%0A
-%09
+    
 /** Operatio
@@ -1418,33 +1418,36 @@
 g commands. */%0D%0A
-%09
+    
 public static fi
@@ -1480,25 +1480,28 @@
 ION = 5;%0D%0A%0D%0A
-%09
+    
 /** Update d
@@ -1547,25 +1547,28 @@
 packet. */%0D%0A
-%09
+    
 public stati
@@ -1605,25 +1605,28 @@
 ATE = 7;%0D%0A%0D%0A
-%09
+    
 public stati
@@ -1667,25 +1667,28 @@
 ION = 7;%0D%0A%0D%0A
-%09
+    
 /** Operatio
@@ -1720,25 +1720,28 @@
 mmands. */%0D%0A
-%09
+    
 public stati
@@ -1772,25 +1772,28 @@
 ION = 8;%0D%0A%0D%0A
-%09
+    
 public stati
@@ -1829,17 +1829,20 @@
 = 9;%0D%0A%0D%0A
-%09
+    
 /** Set 
@@ -1881,17 +1881,20 @@
 ge. */%0D%0A
-%09
+    
 public s
@@ -1929,33 +1929,36 @@
 ON_SET = 10;%0D%0A%0D%0A
-%09
+    
 public static fi
@@ -2004,25 +2004,28 @@
 ON = 10;%0D%0A%0D%0A
-%09
+    
 public stati
@@ -2075,9 +2075,12 @@
 %0D%0A%0D%0A
-%09
+    
 publ

Format changes