I am looking for ideas on how to go about triggering external events to my algorithm.  

For example, say I am trading algorithm live and want to change or tweek certain parameters without stopping the algorith. Another example is say I am trading few symbols live but then I want to pause trading one of the symbol without stopping algorithm and recompiling/redeploying algorithm.     

If I had a way to trigger methods, say by sending packet to algorithm and triggering method in my algo then it is perfect (more like interrpt to algorithm with interrupt handler).