public class NettyTcpTransportFactory extends TransportFactory
Constructor and Description |
---|
NettyTcpTransportFactory() |
Modifier and Type | Method and Description |
---|---|
protected NettyTcpTransport |
doCreateTransport(URI remoteURI,
TransportOptions transportOptions)
Create the actual Transport instance for this factory using the provided URI and
TransportOptions instances.
|
String |
getName() |
create, createTransport, doCreateTransportOptions, findTransportFactory
protected NettyTcpTransport doCreateTransport(URI remoteURI, TransportOptions transportOptions) throws Exception
TransportFactory
doCreateTransport
in class TransportFactory
remoteURI
- The URI used to connect to a remote Peer.transportOptions
- The TransportOptions used to configure the new Transport.Exception
- if an error occurs while creating the Transport instance.public String getName()
getName
in class TransportFactory
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.