public abstract class StreamedControlChannel extends AbstractControlChannel
Control messages sent by this channel are given their length as a header, so that they are easily extractable by the communication partner.
Constructor and Description |
---|
StreamedControlChannel(int a_channelId,
Multiplexer a_multiplexer,
IServiceContainer a_serviceContainer,
boolean bEncrypted) |
Modifier and Type | Method and Description |
---|---|
int |
sendByteMessage(byte[] a_message)
Adds the length of the given buffer to the front of the byte array and
sends it.
|
isSending, processReceivedPacket, sendRawMessage
createEmptyMixPacket, deleteChannel, isClosed, multiplexerClosed, sendPacket
public StreamedControlChannel(int a_channelId, Multiplexer a_multiplexer, IServiceContainer a_serviceContainer, boolean bEncrypted)
Copyright © 2023. All rights reserved.