public interface AcceptorFactory
Connector
will connect to and is used by the remoting service.Modifier and Type | Method and Description |
---|---|
Acceptor |
createAcceptor(org.hornetq.core.server.cluster.ClusterConnection clusterConnection,
java.util.Map<java.lang.String,java.lang.Object> configuration,
BufferHandler handler,
BufferDecoder decoder,
ConnectionLifeCycleListener listener,
java.util.concurrent.Executor threadPool,
java.util.concurrent.ScheduledExecutorService scheduledThreadPool)
Create a new instance of an Acceptor.
|
java.util.Set<java.lang.String> |
getAllowableProperties()
Returns the allowable properties for this acceptor.
|
Acceptor createAcceptor(org.hornetq.core.server.cluster.ClusterConnection clusterConnection, java.util.Map<java.lang.String,java.lang.Object> configuration, BufferHandler handler, BufferDecoder decoder, ConnectionLifeCycleListener listener, java.util.concurrent.Executor threadPool, java.util.concurrent.ScheduledExecutorService scheduledThreadPool)
configuration
- the configurationhandler
- the handlerdecoder
- the decoderlistener
- the listenerthreadPool
- the threadpoolscheduledThreadPool
- a scheduled thread pooljava.util.Set<java.lang.String> getAllowableProperties()
Copyright © 2009 Red Hat Inc. All Rights Reserved.