Demo entry 1469636

code1

   

Submitted by anonymous on Mar 18, 2015 at 21:16
Language: Java. Code size: 215 Bytes.

public void setInitiator()
{
    this.is_initiator = true;
    System.out.println(this + " is initiator");

    for(Edge e : outgoingConnections)
    {
        send(new AstMessage(this), e.endNode);
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).