We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exe a code: String ipcName = "ipcName"; RpcBuffer ipcSlave = new RpcBuffer(ipcName, (msgId, payload) => { log.Info("ipcSlave receive"); //how to know master timeout? Thread.Sleep(10*1000); log.Info("ipcSlave finish work"); return new byte[1]; });
exe b code: String ipcName = "ipcName"; RpcBuffer ipcMaster = new RpcBuffer(ipcName); for (int i = 0; i < 1000; i++) { ipcMaster.RemoteRequest(timeoutMs: 10); } log.Info("all request timeout!");
When program b times out, how does program a know and stop work ?
The text was updated successfully, but these errors were encountered:
Currently there would be no way to know without some other form of comms.
Sorry, something went wrong.
No branches or pull requests
exe a code:
String ipcName = "ipcName";
RpcBuffer ipcSlave = new RpcBuffer(ipcName, (msgId, payload) =>
{
log.Info("ipcSlave receive");
//how to know master timeout?
Thread.Sleep(10*1000);
log.Info("ipcSlave finish work");
return new byte[1];
});
exe b code:
String ipcName = "ipcName";
RpcBuffer ipcMaster = new RpcBuffer(ipcName);
for (int i = 0; i < 1000; i++)
{
ipcMaster.RemoteRequest(timeoutMs: 10);
}
log.Info("all request timeout!");
When program b times out, how does program a know and stop work ?
The text was updated successfully, but these errors were encountered: