| 构造器和说明 |
|---|
SslPipeLayer(SslConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
PipeStatus |
doLayer(PipeContext context,
boolean isRcv,
PipeRcvQueue<ByteBuf> rcvUp,
PipeSndQueue<ByteBuf> rcvDown,
PipeRcvQueue<ByteBuf> sndUp,
PipeSndQueue<ByteBuf> sndDown)
process data the protocol stack.
|
void |
init(PipeContext context)
Initialize the protocol stack, when the Connected.
|
void |
release(PipeContext context)
release protocol stack, connection close.
|
public SslPipeLayer(SslConfig config)
public void init(PipeContext context) throws Exception
PipeLayerpublic PipeStatus doLayer(PipeContext context, boolean isRcv, PipeRcvQueue<ByteBuf> rcvUp, PipeSndQueue<ByteBuf> rcvDown, PipeRcvQueue<ByteBuf> sndUp, PipeSndQueue<ByteBuf> sndDown) throws IOException
PipeLayerPipeRcvQueue.rcvSubmit()/PipeSndQueue.sndSubmit() method of (RCV_UP, RCV_DOWN, SND_UP, SND_DOWN) will be called.
PipeLayer.doError(PipeContext, boolean, Throwable, PipeExceptionHolder).Copyright © 2022–2024. All rights reserved.