All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.MBone.PacketMaker

java.lang.Object
   |
   +----ncsa.MBone.PacketMaker

public class PacketMaker
extends Object
Makes the SDP packet that contains the session information to be announced. Methods : _1_ a: GetSDPPacket (SessionInfo, ToolSet, ParticipantSet, MediaInfo) b: GetSDPPacket () a: constructs the packet with the information passed in parameters b: constructs the packet with the information passed previously in the construct or. (don't forget to check there has some, guy). Basically, formats the whole packet and returns it (SDPPacket object). _2_ FormatAttributeField () Returns the string table that constitutes the attribute fields of the SDP packet . _3_ FormatInfoField (SessionInfo) Returns the string table that constitutes the info field of the SDP packet. Don' t forget to put first the info field of the SessionInfo object. Truncates if nec essary the table if too large to fit into a SDR packet. Not sure for the signature. To be reexamined. _4_ FormatMediaField (MediaInfo) Returns the string containing the media field of the SDP packet. Currently, we d eal with just one media.


Constructor Index

 o PacketMaker()
 o PacketMaker(SessionInfo, ToolSet, MediaInfo[])

Method Index

 o formatInfoField()
 o formatMediaField()
 o getSDPPacket()
 o getVersion()
compute a version number to identify the advertisement
 o update(SessionInfo, ToolSet, MediaInfo[])

Constructors

 o PacketMaker
 public PacketMaker(SessionInfo session,
                    ToolSet tools,
                    MediaInfo media[])
 o PacketMaker
 public PacketMaker()

Methods

 o getVersion
 public static long getVersion()
compute a version number to identify the advertisement

 o update
 public void update(SessionInfo session,
                    ToolSet tools,
                    MediaInfo media[])
 o formatInfoField
 public String formatInfoField()
 o formatMediaField
 public String formatMediaField()
 o getSDPPacket
 public SDPPacket getSDPPacket()

All Packages  Class Hierarchy  This Package  Previous  Next  Index