com.alibaba.dubbo.remoting.p2p
Class Networkers

java.lang.Object
  extended by com.alibaba.dubbo.remoting.p2p.Networkers

public class Networkers
extends Object

Networkers. (API, Static, ThreadSafe)

Peer-to-peer

Author:
william.liangf

Constructor Summary
Networkers()
           
 
Method Summary
static Peer join(String group, String peer, ChannelHandler handler)
           
static Peer join(URL group, URL peer, ChannelHandler handler)
           
static Group lookup(String group)
           
static Group lookup(URL group)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Networkers

public Networkers()
Method Detail

join

public static Peer join(String group,
                        String peer,
                        ChannelHandler handler)
                 throws RemotingException
Throws:
RemotingException

join

public static Peer join(URL group,
                        URL peer,
                        ChannelHandler handler)
                 throws RemotingException
Throws:
RemotingException

lookup

public static Group lookup(String group)
                    throws RemotingException
Throws:
RemotingException

lookup

public static Group lookup(URL group)
                    throws RemotingException
Throws:
RemotingException


Copyright © 2012–2017 Alibaba. All rights reserved.