com.alibaba.dubbo.remoting.p2p.support
Class MulticastGroup

java.lang.Object
  extended by com.alibaba.dubbo.remoting.p2p.support.AbstractGroup
      extended by com.alibaba.dubbo.remoting.p2p.support.MulticastGroup
All Implemented Interfaces:
Group

public class MulticastGroup
extends AbstractGroup

MulticastGroup

Author:
william.liangf

Constructor Summary
MulticastGroup(URL url)
           
 
Method Summary
 Peer join(URL url, ChannelHandler handler)
          join.
 void leave(URL url)
          leave.
 
Methods inherited from class com.alibaba.dubbo.remoting.p2p.support.AbstractGroup
close, getUrl
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastGroup

public MulticastGroup(URL url)
Method Detail

join

public Peer join(URL url,
                 ChannelHandler handler)
          throws RemotingException
Description copied from interface: Group
join.

Specified by:
join in interface Group
Overrides:
join in class AbstractGroup
Throws:
RemotingException

leave

public void leave(URL url)
           throws RemotingException
Description copied from interface: Group
leave.

Specified by:
leave in interface Group
Overrides:
leave in class AbstractGroup
Throws:
RemotingException


Copyright © 2012–2017 Alibaba. All rights reserved.