public class AioSSLQuickServer<T> extends AioQuickServer<T>
aioReadCompletionHandler, aioWriteCompletionHandler, bufferPool, config| Constructor and Description |
|---|
AioSSLQuickServer(int port,
Protocol<T> protocol,
Message<T> messageProcessor) |
| Modifier and Type | Method and Description |
|---|---|
AioSSLQuickServer<T> |
setClientAuth(ClientAuth clientAuth) |
AioSSLQuickServer<T> |
setKeyPassword(String keyPassword) |
AioSSLQuickServer<T> |
setKeyStore(String keyStoreFile,
String keystorePassword) |
AioSSLQuickServer<T> |
setTrust(String trustFile,
String trustPassword) |
void |
start()
启动Server端的AIO服务
|
setBannerEnabled, setOption, setReadBufferSize, setThreadNum, setWriteQueueCapacity, shutdown, start0public void start()
throws IOException
AioQuickServerstart in class AioQuickServer<T>IOException - 异常public AioSSLQuickServer<T> setKeyStore(String keyStoreFile, String keystorePassword)
public AioSSLQuickServer<T> setKeyPassword(String keyPassword)
public AioSSLQuickServer<T> setTrust(String trustFile, String trustPassword)
public AioSSLQuickServer<T> setClientAuth(ClientAuth clientAuth)
Copyright © 2020. All rights reserved.