34 #include "../doxygen.h"
35 #ifndef ONLY_LOCAL_PROXY
37 #include "../CASocket.hpp"
38 #include "../CAQueue.hpp"
40 #include "../CASocketGroupEpoll.hpp"
42 #include "../CASocketGroup.hpp"
45 #include "../CAMutex.hpp"
66 #ifndef DELAY_CHANNELS
73 #ifdef LOG_CHAIN_STATISTICS
112 #ifdef LOG_CHAIN_STATISTICS
121 #ifdef DELAY_CHANNELS
125 SINT32 getDelayBucketInternal();
126 void removeFromDelayBucketInternal(
SINT32 a_bytesToRemove);
void removeFromSocketGroup(CASocketGroupEpoll *a_socketGroup)
bool isSignaledInSocketGroup(CASocketGroupEpoll *a_socketGroup)
void forceImmediateResponsesInternal()
void addToSocketGroup(CASocketGroupEpoll *a_socketGroup)
CAChain(UINT8 *a_chainId)
UINT8 * getPrintableChainId()
void signalConnectionError()
void setSocket(CASocket *a_socket)
void addChannel(t_lastMixBChannelListEntry *a_channel, bool a_fastResponse)
t_socketGroupEntry * m_firstSocketGroup
void closeChainInternal()
void addDataToUpstreamQueue(UINT8 *a_buffer, UINT32 a_size)
UINT32 sendUpstreamData(UINT32 a_maxLength, CASocketGroupEpoll *a_removedSocketGroup)
void removeFromAllSocketGroupsInternal()
void signalUnknownChain()
t_channelEntry * m_firstChannel
bool m_firstDownstreamPacket
CAQueue * m_upstreamSendQueue
SINT32 processDownstream(CASocketGroupEpoll *a_signalingGroup, MIXPACKET *a_downstreamPacket, UINT32 *a_processedBytes)
Returns: 0, if a packet was created.
UINT32 sendUpstreamDataInternal(UINT32 a_maxLength)
This is a simple FIFO-Queue.
t_channelEntry * nextChannel
struct t_lastMixBChannelListEntry * channel
t_socketGroupEntry * nextSocketGroup
CASocketGroupEpoll * socketGroup