Ejemplo n.º 1
0
    public static void Main(string[] args)
    {
        conn = new Connection ();
        conn.Connect();

        JoinOps jops = new JoinOps();
        jops.group_name = "CS_Mtalk" ;

        // Create the endpoint
        memb = new Member(conn);

        memb.Join(jops);
        MainLoop();
    }
Ejemplo n.º 2
0
    // Create an endpoint in slot [i]
    static void CreateEndpt(int i)
    {
        JoinOps jops = new JoinOps();
        jops.group_name = groupName;
        Member m = new Member(conn);
        m.Join(jops);
        memb_a[i] = m;

        Console.WriteLine("Join");
    }