com.alibaba.dubbo.remoting.transport.grizzly
Class GrizzlyTransporter

java.lang.Object
  extended by com.alibaba.dubbo.remoting.transport.grizzly.GrizzlyTransporter
All Implemented Interfaces:
Transporter

public class GrizzlyTransporter
extends Object
implements Transporter

GrizzlyTransporter

Author:
william.liangf

Field Summary
static String NAME
           
 
Constructor Summary
GrizzlyTransporter()
           
 
Method Summary
 Server bind(URL url, ChannelHandler listener)
          Bind a server.
 Client connect(URL url, ChannelHandler listener)
          Connect to a server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

GrizzlyTransporter

public GrizzlyTransporter()
Method Detail

bind

public Server bind(URL url,
                   ChannelHandler listener)
            throws RemotingException
Description copied from interface: Transporter
Bind a server.

Specified by:
bind in interface Transporter
Parameters:
url - server url
Returns:
server
Throws:
RemotingException
See Also:
com.alibaba.dubbo.remoting.Transporters#bind(URL, Receiver, ChannelHandler)

connect

public Client connect(URL url,
                      ChannelHandler listener)
               throws RemotingException
Description copied from interface: Transporter
Connect to a server.

Specified by:
connect in interface Transporter
Parameters:
url - server url
Returns:
client
Throws:
RemotingException
See Also:
com.alibaba.dubbo.remoting.Transporters#connect(URL, Receiver, ChannelListener)


Copyright © 2012–2017 Alibaba. All rights reserved.