public abstract class TransformInputStream<T> extends RTPConnectorInputStream<T>
|Modifier||Constructor and Description|
Initializes a new TransformInputStream which is to transform the packets received from a specific (network) socket.
|Modifier and Type||Method and Description|
Creates a new RawPacket array from a specific DatagramPacket in order to have this instance receive its packet data through its
Gets the PacketTransformer which is used to reverse-transform packets.
Sets the PacketTransformer which is to be used to reverse-transform packets.
addDatagramPacketFilter, close, doLogPacket, endOfStream, getContentDescriptor, getContentLength, getControl, getControls, getDatagramPacketFilters, getMinimumTransferSize, getNumberOfReceivedBytes, getPacketLoggingService, read, read, receive, setEnabled, setPriority, setReceiveBufferSize, setThreadPriority, setTransferHandler
protected TransformInputStream(T socket)
socket- the (network) socket from which packets are to be received and transformed by the new instance
protected RawPacket createRawPacket(java.net.DatagramPacket datagramPacket)
RTPConnectorInputStream.read(byte, int, int)method. Reverse-transforms the received packet.
datagramPacket- the DatagramPacket containing the packet data
RTPConnectorInputStream.read(byte, int, int)method
public PacketTransformer getTransformer()
public void setTransformer(PacketTransformer transformer)
transformer- the PacketTransformer which is to be used to reverse-transform packets.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.