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.
-
PacketMaker()
-
-
PacketMaker(SessionInfo, ToolSet, MediaInfo[])
-
-
formatInfoField()
-
-
formatMediaField()
-
-
getSDPPacket()
-
-
getVersion()
- compute a version number to identify the advertisement
-
update(SessionInfo, ToolSet, MediaInfo[])
-
PacketMaker
public PacketMaker(SessionInfo session,
ToolSet tools,
MediaInfo media[])
PacketMaker
public PacketMaker()
getVersion
public static long getVersion()
- compute a version number to identify the advertisement
update
public void update(SessionInfo session,
ToolSet tools,
MediaInfo media[])
formatInfoField
public String formatInfoField()
formatMediaField
public String formatMediaField()
getSDPPacket
public SDPPacket getSDPPacket()
All Packages Class Hierarchy This Package Previous Next Index