public abstract class AbstractTransformOutputStream extends Object implements TransformOutputStream
TransformOutputStream.| Constructor and Description |
|---|
AbstractTransformOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
PacketTransformer |
getTransformer()
Gets the
PacketTransformer used by this instance to transform
RawPackets. |
void |
setTransformer(PacketTransformer transformer)
Sets the
PacketTransformer to be used by this instance to
transform RawPackets. |
protected RawPacket[] |
transform(RawPacket[] pkts)
Transforms a specified array of
RawPackets using the
PacketTransformer associated with this instance (if any). |
public PacketTransformer getTransformer()
PacketTransformer used by this instance to transform
RawPackets.getTransformer in interface TransformOutputStreamPacketTransformer used by this instance to transform
RawPacketspublic void setTransformer(PacketTransformer transformer)
PacketTransformer to be used by this instance to
transform RawPackets.setTransformer in interface TransformOutputStreamtransformer - the PacketTransformer to be used by this
instance to transform RawPacketsprotected RawPacket[] transform(RawPacket[] pkts)
RawPackets using the
PacketTransformer associated with this instance (if any).pkts - the RawPackets to transformRawPackets which are the result of the
transformation of the specified pkts using the
PacketTransformer associated with this instance. If there is no
PacketTransformer associated with this instance, returns
pkts.Copyright © 2022 jitsi.org. All rights reserved.