package com.bizzan.bitrade.util;

import com.bizzan.bitrade.client.Client;
import com.bizzan.bitrade.socket.ws.WebSocketBinance;

public class WebSocketConnectionManage {

    private static Client client;
    public static WebSocketBinance ws; // 价格监听websocket
    public static Client getClient() { return client; }
    public static void setClient(Client client) {
        WebSocketConnectionManage.client = client;
    }

    public static WebSocketBinance getWebSocket() { return ws; }
    public static void setWebSocket(WebSocketBinance ws) { WebSocketConnectionManage.ws = ws; }
}
