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.Exceptionvoid start()
throws java.lang.Exception
java.lang.Exceptionvoid pause()
throws java.lang.Exception
java.lang.Exceptionvoid resume()
throws java.lang.Exception
java.lang.Exceptionvoid stop()
throws java.lang.Exception
java.lang.Exceptionvoid destroy()
throws java.lang.Exception
java.lang.Exceptionboolean isAprRequired()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.