Class LocalEchoServerRegistration
- java.lang.Object
-
- org.jboss.netty.example.http.tunnel.LocalEchoServerRegistration
-
public class LocalEchoServerRegistration extends java.lang.Object
Deploy this in JBossAS 5 or other IoC container by adding the following bean.<bean name="org.jboss.netty.example.http.tunnel.LocalEchoServerRegistration" class="org.jboss.netty.example.http.tunnel.LocalEchoServerRegistration" />
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelFactory
factory
private Channel
serverChannel
-
Constructor Summary
Constructors Constructor Description LocalEchoServerRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
void
stop()
-
-
-
Field Detail
-
factory
private final ChannelFactory factory
-
serverChannel
private volatile Channel serverChannel
-
-