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, update
public 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()
AnonChannel
getOutputBlockSize
in interface AnonChannel
getOutputBlockSize
in class AbstractDataChain
public void createPacketPayload(DataChainSendOrderStructure a_order)
createPacketPayload
in class AbstractDataChain
public void run()
run
in interface java.lang.Runnable
run
in class AbstractDataChain
Copyright © 2023. All rights reserved.