private NewPayLoad SendToNode(NewPayLoad payload) { if (isLocalGrid) { return(GingerGrid.SendRequestPayLoad(mGingerNodeInfo.SessionID, payload)); } else { return(ExecuteActionOnRemoteGridPlugin(payload)); } }
public ServiceGridTracker(GingerGrid gingerGrid) { mGingerGrid = gingerGrid; mGingerGrid.NodeList.CollectionChanged += NodeList_CollectionChanged; PrintGridInfo(); }
private NewPayLoad SendRequestPayLoad(NewPayLoad pL) { // if local grid use return(GingerGrid.SendRequestPayLoad(mGingerNodeInfo.SessionID, pL)); // else use remote grid }