All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.env.abstraction.MBoneInfoSession

java.lang.Object
   |
   +----ncsa.env.abstraction.MBoneInfoSession

public class MBoneInfoSession
extends Object
implements Serializable, Cloneable

Constructor Index

 o MBoneInfoSession()

Method Index

 o clone()
 o getBeginDate()
 o getDescription()
 o getEndDate()
 o getMulticastGroup()
 o getMulticastPort()
 o getMulticastPortAsInt()
 o getTtl()
 o printMBoneInfo(PrintWriter)
This function writes out in a specific format the fields of a MBoneInfo object
 o publish()
 o setBeginDate(Date)
 o setDescription(String)
 o setEndDate(Date)
 o setInfoSession(InfoSession)
 o setMBoneInfo(BufferedReader)
This function reads and parse a MBoneInfo object.
 o setMulticastGroup(String)
 o setMulticastPort(String)
 o setTtl(short)
 o stopPublishing()
 o toString()

Constructors

 o MBoneInfoSession
 public MBoneInfoSession()

Methods

 o publish
 public void publish()
 o stopPublishing
 public void stopPublishing()
 o setMulticastGroup
 public synchronized void setMulticastGroup(String m_group)
 o getMulticastGroup
 public synchronized String getMulticastGroup()
 o setMulticastPort
 public synchronized void setMulticastPort(String m_port)
 o getMulticastPort
 public synchronized String getMulticastPort()
 o getMulticastPortAsInt
 public int getMulticastPortAsInt()
 o setTtl
 public synchronized void setTtl(short ttl)
 o getTtl
 public synchronized short getTtl()
 o setBeginDate
 public synchronized void setBeginDate(Date begin_date)
 o getBeginDate
 public synchronized Date getBeginDate()
 o setEndDate
 public synchronized void setEndDate(Date end_date)
 o getEndDate
 public synchronized Date getEndDate()
 o setDescription
 public synchronized void setDescription(String desc)
Parameters:
desc - String describing the session purpose. Should be without end of line characters but this is tolerated.
 o getDescription
 public synchronized String getDescription()
 o setInfoSession
 public void setInfoSession(InfoSession is)
 o clone
 public synchronized Object clone()
Overrides:
clone in class Object
 o toString
 public String toString()
Overrides:
toString in class Object
 o setMBoneInfo
 public void setMBoneInfo(BufferedReader r) throws IOException
This function reads and parse a MBoneInfo object. It's called in particular when reading in a template file. The format is : description ; multicast group ; multicast port ; ttl ; begin_date ; end_date ';' means an end-of-line character.

Parameters:
r - the Reader from which to read for information.
 o printMBoneInfo
 public void printMBoneInfo(PrintWriter pw)
This function writes out in a specific format the fields of a MBoneInfo object

Parameters:
pw - The PrintWriter object to which to write out.

All Packages  Class Hierarchy  This Package  Previous  Next  Index