- java.lang.Object
-
- org.redkale.net.http.WebSocketAddress
-
- 所有已实现的接口:
Serializable
public class WebSocketAddress extends Object implements Serializable
存放用户WS连接的SNCP地址和MQ topic, 当消息使用MQ代理时,topic才会有值详情见: https://redkale.org
- 从以下版本开始:
- 2.1.0
- 作者:
- zhangjx
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected InetSocketAddress
addr
protected String
topic
-
构造器概要
构造器 构造器 说明 WebSocketAddress()
WebSocketAddress(String topic, InetSocketAddress addr)
-
-
-
字段详细资料
-
addr
protected InetSocketAddress addr
-
topic
protected String topic
-
-
构造器详细资料
-
WebSocketAddress
public WebSocketAddress()
-
WebSocketAddress
public WebSocketAddress(String topic, InetSocketAddress addr)
-
-
方法详细资料
-
getTopic
public String getTopic()
-
setTopic
public void setTopic(String topic)
-
getAddr
public InetSocketAddress getAddr()
-
setAddr
public void setAddr(InetSocketAddress addr)
-
-