public interface ProtocolHandler
Adapter
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the protocol (optional).
|
Adapter |
getAdapter() |
java.util.concurrent.Executor |
getExecutor()
The executor, provide access to the underlying thread pool.
|
void |
init()
Initialise the protocol.
|
boolean |
isAprRequired()
Requires APR/native library
|
void |
pause()
Pause the protocol (optional).
|
void |
resume()
Resume the protocol (optional).
|
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector.
|
void |
start()
Start the protocol.
|
void |
stop()
Stop the protocol.
|
void setAdapter(Adapter adapter)
Adapter getAdapter()
java.util.concurrent.Executor getExecutor()
void init() throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void pause() throws java.lang.Exception
java.lang.Exception
void resume() throws java.lang.Exception
java.lang.Exception
void stop() throws java.lang.Exception
java.lang.Exception
void destroy() throws java.lang.Exception
java.lang.Exception
boolean isAprRequired()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.