 
 		/**
 		 * @private
+		 */
+		private function sendKeepAlive_response( iq:IQ ):void
+		{
+		}
+
+		/**
+		 * @private
+		 */
+		private function sendKeepAlive_error( iq:IQ ):void
+		{
+			if( iq.errorType == "cancel" )
+			{
+				pingNotSupported = true;
+			}
+		}
+
+		/**
+		 * @private
 		 *
 		 * @param	iq
 		 */

		 */
		public function sendKeepAlive():void
		{
			var ping:IQ = new IQ( new EscapedJID( server ), IQ.TYPE_GET );
			ping.addExtension( new PingExtension() );
			send( ping );
		}

	import flash.utils.*;
	import flash.xml.XMLDocument;
	import flash.xml.XMLNode;
	
	import org.igniterealtime.xiff.auth.*;
	import org.igniterealtime.xiff.data.*;
	import org.igniterealtime.xiff.data.auth.AuthExtension;
