NIST SIP Parser and Stack (v1.2) API

javax.sdp
Interface Version

All Superinterfaces:
Cloneable, Field, Serializable

public interface Version
extends Field

A Version field represents the v= fields contained within the SessionDescription. Please refer to IETF RFC 2327 for a description of SDP.

Version:
1.0
Author:
deruelle

Method Summary
 int getVersion()
          Returns the version number.
 void setVersion(int value)
          Sets the version.
 
Methods inherited from interface javax.sdp.Field
clone, getTypeChar
 

Method Detail

getVersion

public int getVersion()
               throws SdpParseException
Returns the version number.

Returns:
int
Throws:
SdpParseException

setVersion

public void setVersion(int value)
                throws SdpException
Sets the version.

Parameters:
value - the - new version value.
Throws:
SdpException - if the value is <=0

NIST SIP Parser and Stack (v1.2) API

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.