Class CMGroupInfo

java.lang.Object
kr.ac.konkuk.ccslab.cm.entity.CMGroupInfo
Direct Known Subclasses:
CMGroup

public class CMGroupInfo extends Object
The CMGroupInfo class represents a group in a session.
  • Field Details

    • m_strGroupName

      protected String m_strGroupName
    • m_strGroupAddress

      protected String m_strGroupAddress
    • m_nGroupPort

      protected int m_nGroupPort
  • Constructor Details

    • CMGroupInfo

      public CMGroupInfo()
      Creates an instance of the CMGroupInfo class.
    • CMGroupInfo

      public CMGroupInfo(String gname, String address, int port)
      Creates an instance of the CMGroupInfo class.
      Parameters:
      gname - - group name
      address - - multicast address assigned to this group
      port - - multicast port number of this group
  • Method Details

    • setGroupName

      public void setGroupName(String name)
    • setGroupAddress

      public void setGroupAddress(String addr)
    • setGroupPort

      public void setGroupPort(int port)
    • getGroupName

      public String getGroupName()
      Returns the group name.
      Returns:
      the group name.
    • getGroupAddress

      public String getGroupAddress()
      Returns the multicast address assigned to this group.
      Returns:
      the multicast address
    • getGroupPort

      public int getGroupPort()
      Returns the multicast port number of this group.
      Returns:
      the port number