package com.s2d.spirit;

enum SpiritFlag
{
	STRING ( ( short ) 0x2 ),
	PING   ( ( short ) 0x4 ),
	PONG   ( ( short ) 0x8 );
	
	private final int flagValue;
	
	private SpiritFlag ( short flag )
	{
		flagValue = 0x0000FFFF & flag;
	}
	
	public int getFlagValue ()
	{
		return flagValue;
	}
}

@@ -18,16 +18,23 @@
 pirit;%0A%0A
+public 
 enum Spi

Make SpiritFlags public