/// <summary> /// Use the service access base to call an arbitrary service /// </summary> /// <param name="address"></param> /// <param name="parameters"></param> /// <returns></returns> public Dictionary <string, string> Consume(MIPAddress address, Dictionary <string, string> parameters) { //Create a base service client using (MMIServiceBaseClient client = new MMIServiceBaseClient(address.Address, address.Port)) { return(client.Access.Consume(parameters)); } }
public Dictionary <string, string> GetStatus() { using (MMIServiceBaseClient client = new MMIServiceBaseClient(this.Address, this.Port)) { client.Start(); return(client.Access.GetStatus()); } }