home *** CD-ROM | disk | FTP | other *** search
/ Motor Sport Digital Archive Collection 1960s / Motor Sport Digital Archive Collection 1960s.iso / main.swf / scripts / mx / messaging / messages / AsyncMessage.as < prev    next >
Encoding:
Text File  |  2008-05-21  |  746 b   |  31 lines

  1. package mx.messaging.messages
  2. {
  3.    public class AsyncMessage extends AbstractMessage
  4.    {
  5.       public static const SUBTOPIC_HEADER:String = "DSSubtopic";
  6.       
  7.       public var correlationId:String;
  8.       
  9.       public function AsyncMessage(param1:Object = null, param2:Object = null)
  10.       {
  11.          super();
  12.          correlationId = "";
  13.          if(param1 != null)
  14.          {
  15.             this.body = param1;
  16.          }
  17.          if(param2 != null)
  18.          {
  19.             this.headers = param2;
  20.          }
  21.       }
  22.       
  23.       override protected function addDebugAttributes(param1:Object) : void
  24.       {
  25.          super.addDebugAttributes(param1);
  26.          param1["correlationId"] = correlationId;
  27.       }
  28.    }
  29. }
  30.  
  31.