You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
521 B
27 lines
521 B
package com.zc.websocket.handler;
|
|
|
|
|
|
import com.zc.websocket.core.TextWebSocketFrameHandler;
|
|
|
|
/**
|
|
* 抽象消息发送器
|
|
* @author Athena-xiepufeng
|
|
*/
|
|
public class AbstractSender
|
|
{
|
|
/*
|
|
* 消息通道处理器
|
|
*/
|
|
private TextWebSocketFrameHandler channelHandler;
|
|
|
|
public TextWebSocketFrameHandler getChannelHandler()
|
|
{
|
|
return channelHandler;
|
|
}
|
|
|
|
public void setChannelHandler(TextWebSocketFrameHandler channelHandler)
|
|
{
|
|
this.channelHandler = channelHandler;
|
|
}
|
|
|
|
}
|
|
|