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 + "]";
|
}
|
|
|
}
|