public class ChannelResourceFactory extends Object implements ResourceFactory<String,org.jboss.netty.channel.ChannelFuture>
| Constructor and Description |
|---|
ChannelResourceFactory(org.jboss.netty.bootstrap.ClientBootstrap bootstrap,
SSLContext sslContext,
org.jboss.netty.util.Timer timer,
long sslHandshakeTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.jboss.netty.channel.ChannelFuture resource) |
org.jboss.netty.channel.ChannelFuture |
generate(String hostname) |
boolean |
isGood(org.jboss.netty.channel.ChannelFuture resource) |
public ChannelResourceFactory(org.jboss.netty.bootstrap.ClientBootstrap bootstrap,
SSLContext sslContext,
org.jboss.netty.util.Timer timer,
long sslHandshakeTimeout)
public org.jboss.netty.channel.ChannelFuture generate(String hostname)
generate in interface ResourceFactory<String,org.jboss.netty.channel.ChannelFuture>public boolean isGood(org.jboss.netty.channel.ChannelFuture resource)
isGood in interface ResourceFactory<String,org.jboss.netty.channel.ChannelFuture>public void close(org.jboss.netty.channel.ChannelFuture resource)
close in interface ResourceFactory<String,org.jboss.netty.channel.ChannelFuture>Copyright © 2011–2018. All rights reserved.