Beispiel #1
0
 public CHighway()
 {
     requestCallBackList = new Dictionary <string, List <CRequest> >();
     queue        = new CQueueRequest();
     loader       = new Dictionary <string, CRequest>();
     maxLoading   = 2;
     loadingEvent = new HighwayEventArg();
     loaderPool   = new List <CTransport>();
 }
Beispiel #2
0
 public CHighway()
 {
     requestCallBackList = new Dictionary<string, List<CRequest>>();
     queue = new CQueueRequest();
     loader = new Dictionary<string, CRequest>();
     maxLoading = 2;
     loadingEvent = new HighwayEventArg();
     loaderPool = new List<CTransport>();
 }
Beispiel #3
0
 public static int constructor(IntPtr l)
 {
     try {
         CQueueRequest o;
         o=new CQueueRequest();
         pushValue(l,true);
         pushValue(l,o);
         return 2;
     }
     catch(Exception e) {
         return error(l,e);
     }
 }
Beispiel #4
0
 public static int constructor(IntPtr l)
 {
     try {
         CQueueRequest o;
         o=new CQueueRequest();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
Beispiel #5
0
 static public int constructor(IntPtr l)
 {
     try {
         CQueueRequest o;
         o = new CQueueRequest();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Beispiel #6
0
 static public int Size(IntPtr l)
 {
     try {
         CQueueRequest self = (CQueueRequest)checkSelf(l);
         var           ret  = self.Size();
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Beispiel #7
0
 static public int Add(IntPtr l)
 {
     try {
         CQueueRequest self = (CQueueRequest)checkSelf(l);
         CRequest      a1;
         checkType(l, 2, out a1);
         self.Add(a1);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }