package com.inspur.web.controller.work;

import com.inspur.common.annotation.Anonymous;
import com.inspur.websoket.client.PBXWebSocketClient;
// import com.inspur.websoket.client.util.PBXWebSocketUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/wsclient")
@RestController
public class WebSocketController {

    @RequestMapping("/sendhello")
    @Anonymous
    public void sendfirst() {
        /*PBXWebSocketClient webSocketClient = PBXWebSocketUtils.getWBClient();
        if(webSocketClient != null){
            webSocketClient.send("hello," + "!");
        }*/
    }

}
