Package com.avpkit.mediatool.event
Class APacketMixin
- java.lang.Object
-
- com.avpkit.mediatool.event.AEventMixin
-
- com.avpkit.mediatool.event.AStreamMixin
-
- com.avpkit.mediatool.event.AStreamCoderMixin
-
- com.avpkit.mediatool.event.APacketMixin
-
- Direct Known Subclasses:
ReadPacketEvent,WritePacketEvent
public abstract class APacketMixin extends AStreamCoderMixin
An abstract implementation ofIPacketEvent, but does not declareIPacketEvent.- Author:
- aclarke
-
-
Constructor Summary
Constructors Constructor Description APacketMixin(IMediaCoder source, IPacket packet)Create anAPacketMixin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPacketgetPacket()Implementation ofIPacketEvent.getPacket().-
Methods inherited from class com.avpkit.mediatool.event.AStreamCoderMixin
getSource
-
Methods inherited from class com.avpkit.mediatool.event.AStreamMixin
getStreamIndex
-
-
-
-
Constructor Detail
-
APacketMixin
public APacketMixin(IMediaCoder source, IPacket packet)
Create anAPacketMixin.- Parameters:
source- the sourcepacket- a packet. This event will not callIPacket.copyReference()on this packet.
-
-
Method Detail
-
getPacket
public IPacket getPacket()
Implementation ofIPacketEvent.getPacket().- See Also:
IPacketEvent.getPacket()
-
-