01: /*
02: * Version.java
03: *
04: * Created on January 9, 2002, 11:29 AM
05: */
06:
07: package javax.sdp;
08:
09: /** A Version field represents the v= fields contained within the SessionDescription.
10: *
11: * Please refer to IETF RFC 2327 for a description of SDP.
12: *
13: * @author deruelle
14: * @version 1.0
15: */
16: public interface Version extends Field {
17:
18: /** Returns the version number.
19: * @throws SdpParseException
20: * @return int
21: */
22: public int getVersion() throws SdpParseException;
23:
24: /** Sets the version.
25: * @param value the - new version value.
26: * @throws SdpException if the value is <=0
27: */
28: public void setVersion(int value) throws SdpException;
29: }
|