|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.socket.http.HttpTunnelingClientSocketChannelFactory
public class HttpTunnelingClientSocketChannelFactory
Creates a client-side SocketChannel which connects to an
HttpTunnelingServlet to communicate with the server application
behind the HttpTunnelingServlet. Please refer to the
package summary for
the detailed usage.
| Constructor Summary | |
|---|---|
HttpTunnelingClientSocketChannelFactory(ClientSocketChannelFactory clientSocketChannelFactory)
Creates a new instance. |
|
| Method Summary | |
|---|---|
SocketChannel |
newChannel(ChannelPipeline pipeline)
Creates and opens a new Channel and attaches the specified
ChannelPipeline to the new Channel. |
void |
releaseExternalResources()
Releases the external resources that this factory depends on to function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpTunnelingClientSocketChannelFactory(ClientSocketChannelFactory clientSocketChannelFactory)
| Method Detail |
|---|
public SocketChannel newChannel(ChannelPipeline pipeline)
ChannelFactoryChannel and attaches the specified
ChannelPipeline to the new Channel.
newChannel in interface ChannelFactorynewChannel in interface ClientSocketChannelFactorypipeline - the ChannelPipeline which is going to be
attached to the new Channel
public void releaseExternalResources()
ChannelFactoryExecutors that you specified in the factory
constructor are external resources. You can call this method to release
all external resources conveniently when the resources are not used by
this factory or any other part of your application. An unexpected
behavior will be resulted in if the resources are released when there's
an open channel which is managed by this factory.
releaseExternalResources in interface ChannelFactoryreleaseExternalResources in interface ExternalResourceReleasable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||