类 AbstractExchangeGroup
- java.lang.Object
-
- com.alibaba.dubbo.remoting.p2p.exchange.support.AbstractExchangeGroup
-
- 所有已实现的接口:
ExchangeGroup
,Group
- 直接已知子类:
FileExchangeGroup
,MulticastExchangeGroup
public abstract class AbstractExchangeGroup extends Object implements ExchangeGroup
AbstractGroup
-
-
构造器概要
构造器 构造器 说明 AbstractExchangeGroup(URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
close()
close the group.URL
getUrl()
get group url.Peer
join(URL url, ChannelHandler handler)
join.ExchangePeer
join(URL url, ExchangeHandler handler)
join.void
leave(URL url)
leave.
-
-
-
构造器详细资料
-
AbstractExchangeGroup
public AbstractExchangeGroup(URL url)
-
-
方法详细资料
-
join
public Peer join(URL url, ChannelHandler handler) throws RemotingException
从接口复制的说明:Group
join.- 指定者:
join
在接口中Group
- 抛出:
RemotingException
-
join
public ExchangePeer join(URL url, ExchangeHandler handler) throws RemotingException
从接口复制的说明:ExchangeGroup
join.- 指定者:
join
在接口中ExchangeGroup
- 抛出:
RemotingException
-
leave
public void leave(URL url) throws RemotingException
从接口复制的说明:Group
leave.- 指定者:
leave
在接口中Group
- 抛出:
RemotingException
-
-