|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeDescription
A TimeDescription represents the fields present within a SDP time description. Quoting from RFC 2327: Multiple "t=" fields may be used if a session is active at multiple irregularly spaced times; each additional "t=" field specifies an additional period of time for which the session will be active. If the session is active at regular times, an "r=" field (see below) should be used in addition to and following a "t=" field - in which case the "t=" field specifies the start and stop times of the repeat sequence. Please refer to IETF RFC 2327 for a description of SDP.
Field Summary | |
---|---|
static long |
NTP_CONST
Constant used to translate between NTP time used in SDP and "native" Java time. |
Method Summary | |
---|---|
Vector |
getRepeatTimes(boolean create)
Returns the list of repeat times (r= fields) specified in the SessionDescription. |
Time |
getTime()
Returns the Time field. |
void |
setRepeatTimes(Vector repeatTimes)
Returns the list of repeat times (r= fields) specified in the SessionDescription. |
void |
setTime(Time t)
Sets the Time field. |
Field Detail |
---|
static final long NTP_CONST
Method Detail |
---|
Time getTime() throws SdpParseException
SdpParseException
void setTime(Time t) throws SdpException
t
- Time to set
SdpException
- if the time is nullVector getRepeatTimes(boolean create)
create
- boolean to set
void setRepeatTimes(Vector repeatTimes) throws SdpException
repeatTimes
- Vector to set
SdpException
- if the parameter is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |