javax.sdp
Interface Version

All Superinterfaces:
Cloneable, Field, Serializable
All Known Implementing Classes:
ProtoVersionField

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

int getVersion()
               throws SdpParseException
Returns the version number.

Returns:
int
Throws:
SdpParseException

setVersion

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

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


Copyright © 2012. All Rights Reserved.