org.davic.net.ca
Class PIDChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.davic.net.ca.CAEvent
          extended byorg.davic.net.ca.PIDChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class PIDChangeEvent
extends CAEvent

In systems based upon the DVB Common Interface this event is generated in response to the Host Control replace /clear_replace requests. NOTE:This event is for information only. The platform is responsible for implementing the requests from the CA system. See also R206.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PIDChangeEvent(short oldPid, short newPid, java.lang.Object caModule)
          Constructor for the event
 
Method Summary
 short getReplacedPID()
          Returns the PID of the previous elementary stream.
 short getReplacementPID()
          Returns the PID of the new elementary stream that substitutes the previous one.
 java.lang.Object getSource()
          Returns the CAModule that is the source of the event.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PIDChangeEvent

public PIDChangeEvent(short oldPid,
                      short newPid,
                      java.lang.Object caModule)
Constructor for the event

Parameters:
oldPid - the PID to be replaced.
newPid - the new replacement PID.
caModule - the CAModule object which is the source of the event.
Method Detail

getReplacedPID

public short getReplacedPID()
Returns the PID of the previous elementary stream.

Returns:
the previous PID

getReplacementPID

public short getReplacementPID()
Returns the PID of the new elementary stream that substitutes the previous one.

Returns:
the new PID to replace the previous one.

getSource

public java.lang.Object getSource()
Returns the CAModule that is the source of the event.

Overrides:
getSource in class CAEvent