Package org.cipango.diameter.node

Examples of org.cipango.diameter.node.Peer$Pending


    node.setIdentity("client.rf.cipango.org");
    node.setRealm("cipango.org");
   
    node.addSupportedApplication(Cx.CX_APPLICATION_ID);
   
    Peer peer = new Peer("hss.cipango.org");
    peer.setAddress(InetAddress.getByName("192.168.2.208"));
    peer.setPort(3868);
   
    node.addPeer(peer);
    node.start();
   
    while (!peer.isOpen())
      Thread.sleep(100);
   
    /*
    DiameterRequest request = new DiameterRequest(node, Accounting.ACR, Accounting.ACCOUNTING_ORDINAL, "12345");
    request.add(Common.DESTINATION_REALM, "cipango.org");
View Full Code Here


    connector.setPort(3868);
    connector.setMessageListener(new BasicMessageLog());
   
    node.addConnector(connector);
   
    Peer peer = new Peer("192.168.2.10");
    peer.setAddress(InetAddress.getByName("192.168.2.10"));
    peer.setPort(3869);
   
    node.addPeer(peer);
   
    node.start();
   
    String destinationRealm = "open-ims.net";
    String destinationHost = "192.168.2.10";
   
    while (!peer.isOpen())
      Thread.sleep(100);
   
    DiameterRequest request = new DiameterRequest(node, Sh.UDR, sh.getId(), "123456789");
   
    request.getAVPs().add(Common.DESTINATION_REALM, destinationRealm);
View Full Code Here

TOP

Related Classes of org.cipango.diameter.node.Peer$Pending

Copyright © 2018 www.massapicom. 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.