org.jboss.messaging.integration.transports.netty
Class NettyAcceptor
java.lang.Object
org.jboss.messaging.integration.transports.netty.NettyAcceptor
- All Implemented Interfaces:
- Acceptor, MessagingComponent
public class NettyAcceptor
- extends java.lang.Object
- implements Acceptor
A Netty TCP Acceptor that supports SSL
- Version:
- $Rev: 6967 $, $Date: 2009-05-21 14:51:34 +0100 (Thu, 21 May 2009) $
- Author:
- Andy Taylor, Tim Fox, Trustin Lee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyAcceptor
public NettyAcceptor(java.util.Map<java.lang.String,java.lang.Object> configuration,
BufferHandler handler,
ConnectionLifeCycleListener listener,
java.util.concurrent.Executor threadPool)
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface MessagingComponent
- Throws:
java.lang.Exception
pause
public void pause()
- Specified by:
pause
in interface Acceptor
resume
public void resume()
- Specified by:
resume
in interface Acceptor
stop
public void stop()
- Specified by:
stop
in interface MessagingComponent
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface MessagingComponent
Copyright © 2006 JBoss Inc. All Rights Reserved.