summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java
diff options
context:
space:
mode:
authorGoblin911 <goblinliu@gmail.com>2013-08-26 11:16:39 +0800
committerGoblin911 <goblinliu@gmail.com>2013-08-26 11:16:39 +0800
commit686cf083c79fce3a032d229bb1b7ea8ed49046c0 (patch)
tree7cf2c333b0c63e8286a58f84215bfb55b8f83fb6 /client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java
parent6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff)
add new network, but userinfo need to rewrite.
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java b/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java
new file mode 100644
index 0000000..9ae0cb5
--- /dev/null
+++ b/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java
@@ -0,0 +1,14 @@
+package com.macaroon.piztor;
+
+//--------------------------------------//
+// Ask user info //
+//--------------------------------------//
+
+public class ReqUserinfo extends Req {
+ int uid; // user id
+
+ ReqUserinfo(String token, String name, int id, long time, long alive) {
+ super(3, token, name, time, alive); // for type 3
+ uid = id;
+ }
+} \ No newline at end of file