aboutsummaryrefslogtreecommitdiff
path: root/src/com/juick/jabber/ws/SocketSubscribed.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/juick/jabber/ws/SocketSubscribed.java')
-rw-r--r--src/com/juick/jabber/ws/SocketSubscribed.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/com/juick/jabber/ws/SocketSubscribed.java b/src/com/juick/jabber/ws/SocketSubscribed.java
new file mode 100644
index 00000000..29baf0b8
--- /dev/null
+++ b/src/com/juick/jabber/ws/SocketSubscribed.java
@@ -0,0 +1,22 @@
+package com.juick.jabber.ws;
+
+import java.nio.channels.SocketChannel;
+
+/**
+ *
+ * @author ugnich
+ */
+public class SocketSubscribed {
+
+ public SocketChannel sock = null;
+ public int UID = 0;
+ public int MID = 0;
+ public long tsConnected = 0;
+ public long tsLastData = 0;
+
+ public SocketSubscribed(SocketChannel sock, int UID, int MID) {
+ this.sock = sock;
+ this.UID = UID;
+ this.MID = MID;
+ }
+}