lxw
2020-06-29 90d3cd4b0b3a8067778b0d9ce8c7971a0717db0a
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
28
29
30
31
32
33
34
35
package com.fgkj.websockets;
 
import java.io.Serializable;
 
public class WebSocket implements Serializable{
    private Object json;
    private String method;
    private int uid;
    public Object getJson() {
        return json;
    }
    public void setJson(Object json) {
        this.json = json;
    }
    public String getMethod() {
        return method;
    }
    public void setMethod(String method) {
        this.method = method;
    }
    
    public int getUid() {
        return uid;
    }
    public void setUid(int uid) {
        this.uid = uid;
    }
    @Override
    public String toString() {
        return "WebSocket [json=" + json + ", method=" + method + ", uid="
                + uid + "]";
    }
    
    
}