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

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

public class FileGroup
extends AbstractGroup

FileGroup

Author:
william.liangf

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

Constructor Detail

FileGroup

public FileGroup(URL url)
Method Detail

close

public void close()
Description copied from interface: Group
close the group.

Specified by:
close in interface Group
Overrides:
close in class AbstractGroup

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.