Exemple #1
0
    public override void PBSUnknownAsPreservedWithGraph_async(AMD_TestIntf_PBSUnknownAsPreservedWithGraph cb,
                                                              Ice.Current current)
    {
        PSUnknown r = new PSUnknown();

        r.pi                   = 5;
        r.ps                   = "preserved";
        r.psu                  = "unknown";
        r.graph                = new PNode();
        r.graph.next           = new PNode();
        r.graph.next.next      = new PNode();
        r.graph.next.next.next = r.graph;
        cb.ice_response(r);
        r.graph.next.next.next = null; // Break the cycle.
    }
Exemple #2
0
 public override void PBSUnknownAsPreservedWithGraph_async(AMD_TestIntf_PBSUnknownAsPreservedWithGraph cb,
                                                           Ice.Current current)
 {
     PSUnknown r = new PSUnknown();
     r.pi = 5;
     r.ps = "preserved";
     r.psu = "unknown";
     r.graph = new PNode();
     r.graph.next = new PNode();
     r.graph.next.next = new PNode();
     r.graph.next.next.next = r.graph;
     cb.ice_response(r);
     r.graph.next.next.next = null; // Break the cycle.
 }