javax.media.rtp.event
Class TimeoutEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.rtp.event.RTPEvent
                    |
                    +--javax.media.rtp.event.ReceiveStreamEvent
                          |
                          +--javax.media.rtp.event.TimeoutEvent
Direct Known Subclasses:
ByeEvent

public class TimeoutEvent
extends ReceiveStreamEvent

Informs the RTP listener that a certain SSRC has not sent packets in a long while and can be considered timed-out. This call has the exact same semantics as the 'bye()' callback, in that the SSRC may refer to a participant as a whole or just one of several of a participant's ReceiveStreams. In other words, RTPSM treats an SSRC timing out the same as it treats a BYE from that SSRC. See the documentation for bye() (below) for more information.

For obvious reasons, there is no 'reason' string to hand back to the listener.

The timeout event is sent in case of RTP/RTCP packets not being received from active senders as well as passive receivers. In case of passive receivers, the ReceiveStream parameter is null. Currently, the timeout is set to 30 mins

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimeoutEvent(SessionManager from, Participant participant, ReceiveStream recvStream, boolean participantBye)
           
 
Method Summary
 boolean participantLeaving()
          True if the participant is leaving the session; after this call returns the given participant object is invalid.
 
Methods inherited from class javax.media.rtp.event.ReceiveStreamEvent
getParticipant, getReceiveStream
 
Methods inherited from class javax.media.rtp.event.RTPEvent
getSessionManager, getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeoutEvent

public TimeoutEvent(SessionManager from,
                    Participant participant,
                    ReceiveStream recvStream,
                    boolean participantBye)
Method Detail

participantLeaving

public boolean participantLeaving()
True if the participant is leaving the session; after this call returns the given participant object is invalid. False if the timed-out SSRC is not the only SSRC owned by the participant so the participant is remaining in the session.



Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.