public class SslListener extends Object implements ISSLListener
Constructor and Description |
---|
SslListener(ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
void |
onPlainData(ByteBuffer plainBuffer)
业务层通过这个方法把SSL解密后的数据进行业务解包
|
void |
onWrappedData(SslVo sslVo)
业务层通过这个方法把SSL加密后的数据发出去
|
public SslListener(ChannelContext channelContext)
public void onWrappedData(SslVo sslVo)
ISSLListener
onWrappedData
in interface ISSLListener
public void onPlainData(ByteBuffer plainBuffer)
ISSLListener
onPlainData
in interface ISSLListener
Copyright © 2021. All rights reserved.