Package com.kylin.jgroups.test

Source Code of com.kylin.jgroups.test.JChannelLogicNameTest

package com.kylin.jgroups.test;

import org.jgroups.JChannel;

public class JChannelLogicNameTest {

  public static void main(String[] args) throws Exception {

    JChannel channel = new JChannel("udp.xml");
//    channel.setName("JBoss Cluster");
//    channel.connect("JChannelLogicNameTest");
//    System.out.println(channel.getAddress());
//    System.out.println(channel.getClusterName());
    System.out.println(channel.getView());
  }

}
TOP

Related Classes of com.kylin.jgroups.test.JChannelLogicNameTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.