@Deprecated public abstract class BaseMessageEvent extends Object
MessageEvent
and NetworkEvent
to resolve API backward
compatibility issue.
SpanData.create
can't be overloaded with parameter types that differ only in the type
of the TimedEvent, because the signatures are the same after generic type erasure. BaseMessageEvent
allows the same method to accept both TimedEvents<NetworkEvent>
and
TimedEvents<MessageEvent>
.
This class should only be extended by NetworkEvent
and MessageEvent
.