public final class SingleChannelDataChain extends AbstractDataChain
HTTP, SMTP, SOCKS, TCP, UDP, UDP_OVER_TCP, UDP_OVER_UDP, VPN| Constructor and Description |
|---|
SingleChannelDataChain(IDataChannelCreator a_channelCreator,
DataChainErrorListener a_errorListener,
IntegrityErrorListener a_integrityErrorListener,
int a_chainType,
boolean a_supportFlowControl,
boolean a_supportUpstreamFlowControl,
int upstreamSendMe,
int downstreamSendMe,
boolean a_enhancedChannelEncryption,
boolean a_withIntegrityCheck) |
| Modifier and Type | Method and Description |
|---|---|
void |
createPacketPayload(DataChainSendOrderStructure a_order)
Takes the order data of the given order, adds the length, the flow
control flag and chain type to the front and copies that data to the
channel cell buffer of the order.
|
int |
getOutputBlockSize()
Returns a value that indicates the current optimum size of data to write.
|
void |
run() |
close, getInputStream, getOutputStream, isClosed, updatepublic SingleChannelDataChain(IDataChannelCreator a_channelCreator, DataChainErrorListener a_errorListener, IntegrityErrorListener a_integrityErrorListener, int a_chainType, boolean a_supportFlowControl, boolean a_supportUpstreamFlowControl, int upstreamSendMe, int downstreamSendMe, boolean a_enhancedChannelEncryption, boolean a_withIntegrityCheck)
public int getOutputBlockSize()
AnonChannelgetOutputBlockSize in interface AnonChannelgetOutputBlockSize in class AbstractDataChainpublic void createPacketPayload(DataChainSendOrderStructure a_order)
createPacketPayload in class AbstractDataChainpublic void run()
run in interface java.lang.Runnablerun in class AbstractDataChainCopyright © 2023. All rights reserved.