| 构造器和说明 |
|---|
SimplePipeStack() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getRcvSlotSize()
Returns the number of available pipeline receive slots, The maximum value is Integer.MAX_VALUE
|
int |
getSndSlotSize()
Returns the number of pipeline send slots available, The maximum value is Integer.MAX_VALUE
|
protected abstract Object[] |
onError(boolean isRcv,
PipeContext pipeContext,
Throwable error) |
protected abstract Object[] |
onNotify(boolean isRcv,
PipeContext pipeContext,
Object[] data) |
Object[] |
rcvError(PipeContext pipeContext,
String pipeName,
Throwable rcvError)
Errors from the network layer.
|
Object[] |
rcvLayer(PipeContext pipeContext,
String pipeName,
Object[] rcvData)
Processing received data
|
Object[] |
sndError(PipeContext pipeContext,
String pipeName,
Throwable sndError)
Errors from the network layer.
|
Object[] |
sndLayer(PipeContext pipeContext,
String pipeName,
Object[] sndData)
Trigger sending data
|
public int getRcvSlotSize()
PipelinegetRcvSlotSize 在接口中 Pipeline<Object>public int getSndSlotSize()
PipelinegetSndSlotSize 在接口中 Pipeline<Object>public final Object[] rcvLayer(PipeContext pipeContext, String pipeName, Object[] rcvData) throws Throwable
Pipelinepublic final Object[] rcvError(PipeContext pipeContext, String pipeName, Throwable rcvError) throws Throwable
Pipelinepublic final Object[] sndLayer(PipeContext pipeContext, String pipeName, Object[] sndData) throws Throwable
Pipelinepublic final Object[] sndError(PipeContext pipeContext, String pipeName, Throwable sndError) throws Throwable
Pipelineprotected abstract Object[] onNotify(boolean isRcv, PipeContext pipeContext, Object[] data) throws Throwable
Throwableprotected abstract Object[] onError(boolean isRcv, PipeContext pipeContext, Throwable error) throws Throwable
ThrowableCopyright © 2022–2024. All rights reserved.