blob: f865ce6aa29cfaf0c0df3ef134e44e6cb49407a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package com.juick.jabber.ws;
import java.nio.channels.SocketChannel;
/**
*
* @author ugnich
*/
public class SocketSubscribed {
public SocketChannel sock = null;
public String clientName = null;
public int VUID = 0;
public int UID = 0;
public int MID = 0;
public boolean allMessages = false;
public boolean allReplies = false;
public long tsConnected;
public long tsLastData;
public SocketSubscribed(SocketChannel sock, String clientName, int VUID) {
this.sock = sock;
this.clientName = clientName;
this.VUID = VUID;
tsConnected = tsLastData = System.currentTimeMillis();
}
}
|