All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.MBone.SessionAdvertiser

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

public class SessionAdvertiser
extends Object
implements Runnable
Publish a session through the network, i.e. periodically sends a SAP packet on the SDR well known port. The SAP version used is 1, and the class has been tested with sdr2.4a6.


Constructor Index

 o SessionAdvertiser(ConnectionMedium)
 o SessionAdvertiser(SDPPacket, ConnectionMedium)

Method Index

 o advertiseSession()
 o advertiseSession(SDPPacket)
 o deleteRegularlyTheSession()
 o deleteSession()
 o deleteSmartlyTheSession()
 o getPeriod()
 o getSAPPacket()
 o main(String[])
 o modifySession(SDPPacket)
 o run()
 o setInfoSession(InfoSession)
 o stopAdvertising()

Constructors

 o SessionAdvertiser
 public SessionAdvertiser(SDPPacket packet,
                          ConnectionMedium medium)
 o SessionAdvertiser
 public SessionAdvertiser(ConnectionMedium medium)

Methods

 o main
 public static void main(String arg[])
 o advertiseSession
 public void advertiseSession(SDPPacket packet) throws IOException
 o advertiseSession
 public void advertiseSession() throws IOException
 o modifySession
 public void modifySession(SDPPacket packet) throws IOException
 o deleteRegularlyTheSession
 public void deleteRegularlyTheSession()
 o deleteSession
 public void deleteSession()
 o deleteSmartlyTheSession
 public void deleteSmartlyTheSession() throws IOException
 o stopAdvertising
 public void stopAdvertising()
 o getSAPPacket
 public byte[] getSAPPacket()
 o getPeriod
 public int getPeriod()
 o run
 public void run()
 o setInfoSession
 public void setInfoSession(InfoSession is)

All Packages  Class Hierarchy  This Package  Previous  Next  Index