public abstract class XmlControlChannel extends StreamedControlChannel
The actual processing method processXmlMessage
has to be implemented by subclasses.
m_parentMultiplexer
Constructor and Description |
---|
XmlControlChannel(int a_channelId,
Multiplexer a_multiplexer,
IServiceContainer a_serviceContainer,
boolean bEncrypted) |
Modifier and Type | Method and Description |
---|---|
protected void |
processMessage(byte[] a_message)
Transforms the given byte array into a
Document
and calls the processXmlMessage method on it. |
protected abstract void |
processXmlMessage(org.w3c.dom.Document a_document)
Method that processes the XML message received through the channel.
|
int |
sendXmlMessage(org.w3c.dom.Document docMsg)
This method allows sending an
XML Document
containing control information over a
StreamedControlChannel . |
processPacketData, sendByteMessage
getServiceContainer, isSending, processReceivedPacket, sendRawMessage
createEmptyMixPacket, deleteChannel, isClosed, multiplexerClosed, sendPacket
public XmlControlChannel(int a_channelId, Multiplexer a_multiplexer, IServiceContainer a_serviceContainer, boolean bEncrypted)
public int sendXmlMessage(org.w3c.dom.Document docMsg)
XML Document
containing control information over a
StreamedControlChannel
.docMsg
- protected void processMessage(byte[] a_message)
Document
and calls the processXmlMessage
method on it.processMessage
in class StreamedControlChannel
protected abstract void processXmlMessage(org.w3c.dom.Document a_document)
a_document
- Copyright © 2023. All rights reserved.