diff options
author | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
---|---|---|
committer | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
commit | 686cf083c79fce3a032d229bb1b7ea8ed49046c0 (patch) | |
tree | 7cf2c333b0c63e8286a58f84215bfb55b8f83fb6 /client/Piztor/src/com/macaroon/piztor/Req.java | |
parent | 6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff) |
add new network, but userinfo need to rewrite.
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/Req.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/Req.java | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/Req.java b/client/Piztor/src/com/macaroon/piztor/Req.java index 32988b8..ad84922 100644 --- a/client/Piztor/src/com/macaroon/piztor/Req.java +++ b/client/Piztor/src/com/macaroon/piztor/Req.java @@ -1,14 +1,16 @@ -package com.macaroon.piztor; - -public class Req{ - int type; //request type - int token; //authentciation - long time; //current time - long alive; //alive time - Req(int t,int k,long tm,long av){ - type = t; - token = k; - time = tm; - alive = av; - } +package com.macaroon.piztor;
+
+public class Req{
+ int type; //request type
+ String token; //authentciation
+ String uname; //username
+ long time; //current time
+ long alive; //alive time
+ Req(int t,String k,String name,long tm,long av){
+ type = t;
+ token = k;
+ uname = name;
+ time = tm;
+ alive = av;
+ }
}
\ No newline at end of file |