home *** CD-ROM | disk | FTP | other *** search
/ Ice Age Fan CD 1 / CD1_Scrat.iso / flash / data / game.swf / scripts / com / google / analytics / utils / Protocols.as < prev    next >
Encoding:
Text File  |  2012-07-04  |  815 b   |  36 lines

  1. package com.google.analytics.utils
  2. {
  3.    public class Protocols
  4.    {
  5.       public static const none:Protocols = new Protocols(0,"none");
  6.       
  7.       public static const file:Protocols = new Protocols(1,"file");
  8.       
  9.       public static const HTTP:Protocols = new Protocols(2,"HTTP");
  10.       
  11.       public static const HTTPS:Protocols = new Protocols(3,"HTTPS");
  12.       
  13.       private var _value:int;
  14.       
  15.       private var _name:String;
  16.       
  17.       public function Protocols(param1:int = 0, param2:String = "")
  18.       {
  19.          super();
  20.          _value = param1;
  21.          _name = param2;
  22.       }
  23.       
  24.       public function valueOf() : int
  25.       {
  26.          return _value;
  27.       }
  28.       
  29.       public function toString() : String
  30.       {
  31.          return _name;
  32.       }
  33.    }
  34. }
  35.  
  36.