From 686cf083c79fce3a032d229bb1b7ea8ed49046c0 Mon Sep 17 00:00:00 2001 From: Goblin911 Date: Mon, 26 Aug 2013 11:16:39 +0800 Subject: add new network, but userinfo need to rewrite. --- client/Piztor/src/com/macaroon/piztor/Req.java | 28 ++++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'client/Piztor/src/com/macaroon/piztor/Req.java') 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 -- cgit v1.2.3