 package org.postgresql.febe {
 
+    import flash.events.Event;
     import flash.events.EventDispatcher;
-    import flash.events.ProgressEvent;
-
+    
     import mx.logging.ILogger;
     import mx.logging.Log;
-
+    
     import org.postgresql.febe.message.AuthenticationRequest;
     import org.postgresql.febe.message.BackendKeyData;
     import org.postgresql.febe.message.Bind;

            'n': NoData,
            'N': NoticeResponse,
            'S': ParameterStatus,
            'Z': ReadyForQuery,
            'T': RowDescription
        }


        private var _dispatcher:EventDispatcher;

        public function MessageBroker(stream:IDataStream) {
            _dataStream = stream;
            _dataStream.addEventListener(SocketDataStream.DATA_AVAILABLE, handleSocketData);
