private NewPayLoad SendToNode(NewPayLoad payload) { if (isLocalGrid) { return(GingerGrid.SendRequestPayLoad(mGingerNodeInfo.SessionID, payload)); } else { return(ExecuteActionOnRemoteGridPlugin(payload)); } }
private NewPayLoad SendRequestPayLoad(NewPayLoad pL) { // if local grid use return(GingerGrid.SendRequestPayLoad(mGingerNodeInfo.SessionID, pL)); // else use remote grid }