[jitsi-dev] Questions regarding the TransformLayer interface


#1

Hi,

I am confused about why the TransformLayer interface was designed this way.

It has the following 4 methods:
messageReceived
messageDeliveryPending
messageDelivered
messageDeliveryFailed

which don't seem to be relevant operations for a TransformLayer.

According to the documentation for OperationSetInstantMessageTransform ,
TransformLayer implementations can be used to transform messages for both
incoming and outcoming messages - you would expect the interface to have a
transform method, with a Message instance as parameter.

The existing methods for TransformLayer seem to indicate that they have to
do with processing message reception or delivery events.

- Sandeep