All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.www.sap.SapMedia
java.lang.Object
   |
   +----w3c.www.sap.SapMedia
  -  public class SapMedia
  -  extends Object
   
  -   asbw asbw
-   Media application specific bandwidth.
  
-   caddr caddr
-   Media connection address.
  
-   caddrtype caddrtype
-   Media connection address type.
  
-   cnaddr cnaddr
-   Media number of multicast groups.
  
-   ctbw ctbw
-   Media total conference bandwidth.
  
-   cttl cttl
-   Media connection time to live.
  
-   hasConnection hasConnection
-   Does this media session has asssociated connection data ?
  
-   infos infos
-   Media informations
  
-   nport nport
-   Number of ports.
  
-   port port
-   Port number.
  
-   session session
-   The Session having that media.
   
  -   SapMedia(SapSession, String, int, int, String, String[]) SapMedia(SapSession, String, int, int, String, String[])
-  
  
-   SapMedia(SapSession, String, int, String, String[]) SapMedia(SapSession, String, int, String, String[])
-  
   
  -   addAttribute(String, String) addAttribute(String, String)
-   Add an attribute to that media description.
  
-   addInfos(String) addInfos(String)
-  
  
-   getAttributeValue(String) getAttributeValue(String)
-   Get the first value of an attribute.
  
-   getAttributeValues(String) getAttributeValues(String)
-   Get all mappings of an attribute.
  
-   getTimeToLive() getTimeToLive()
-   Get the max TTL for that media.
  
-   removeAttribute(String) removeAttribute(String)
-   Remove an attribute definition.
  
-   setApplicationSpecificBandwidth(int) setApplicationSpecificBandwidth(int)
-  
  
-   setConferenceTotalBandwidth(int) setConferenceTotalBandwidth(int)
-  
  
-   setConnectionData(String, String, InetAddress, int, int) setConnectionData(String, String, InetAddress, int, int)
-  
  
-   setTimeToLive(int) setTimeToLive(int)
-   Set this media's time to live.
  
-   toByteArray() toByteArray()
-  
   
 session
session
 protected SapSession session
  -  The Session having that media.
 
 port
port
 protected int port
  -  Port number.
 
 nport
nport
 protected int nport
  -  Number of ports.
 
 infos
infos
 public String infos[]
  -  Media informations
 
 hasConnection
hasConnection
 protected boolean hasConnection
  -  Does this media session has asssociated connection data ?
 
 caddrtype
caddrtype
 protected String caddrtype
  -  Media connection address type.
 
 caddr
caddr
 protected InetAddress caddr
  -  Media connection address.
 
 cttl
cttl
 protected int cttl
  -  Media connection time to live.
 
 cnaddr
cnaddr
 protected int cnaddr
  -  Media number of multicast groups.
 
 ctbw
ctbw
 protected int ctbw
  -  Media total conference bandwidth.
 
 asbw
asbw
 protected int asbw
  -  Media application specific bandwidth.
 
   
 SapMedia
SapMedia
 public SapMedia(SapSession session,
                 String media,
                 int port,
                 int nport,
                 String transport,
                 String formats[])
 SapMedia
SapMedia
 public SapMedia(SapSession session,
                 String media,
                 int port,
                 String transport,
                 String formats[])
   
 toByteArray
toByteArray
 public byte[] toByteArray()
 addInfos
addInfos
 public void addInfos(String info)
 setConnectionData
setConnectionData
 public void setConnectionData(String ctype,
                               String atype,
                               InetAddress addr,
                               int ttl,
                               int naddr)
 setConferenceTotalBandwidth
setConferenceTotalBandwidth
 public void setConferenceTotalBandwidth(int ctbw)
 setApplicationSpecificBandwidth
setApplicationSpecificBandwidth
 public void setApplicationSpecificBandwidth(int asbw)
 addAttribute
addAttribute
 public void addAttribute(String key,
                          String val)
  -  Add an attribute to that media description.
   
- 
    -  Parameters:
    
-  key - The name of the attribute.
    -  val - The value for that attribute.
  
 
 removeAttribute
removeAttribute
 public void removeAttribute(String key)
  -  Remove an attribute definition.
 Removes all values for that attribute.
   
- 
    -  Parameters:
    
-  key - The attribute name.
  
 
 getAttributeValue
getAttributeValue
 public String getAttributeValue(String key)
  -  Get the first value of an attribute.
   
- 
    -  Parameters:
    
-  key - The attribute name.
    
-  Returns:
    
-  A String instance, or null.
  
 
 getAttributeValues
getAttributeValues
 public String[] getAttributeValues(String key)
  -  Get all mappings of an attribute.
   
- 
    -  Parameters:
    
-  key - The name of the attribute.
    
-  Returns:
    
-  A String array, which might have a zero length (to indicate
 a flag), or null.
  
 
 getTimeToLive
getTimeToLive
 public int getTimeToLive()
  -  Get the max TTL for that media.
   
- 
    -  Returns:
    
-  A integer ttl value.
  
 
 setTimeToLive
setTimeToLive
 public void setTimeToLive(int ttl)
  -  Set this media's time to live.
   
- 
    -  Parameters:
    
-  ttl - The new ttl value for that media.
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index