开发者

client/server win program [closed]

开发者 https://www.devze.com 2023-02-13 09:23 出处:网络
It's difficult to tell what is being asked here. This questio开发者_开发问答n is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This questio开发者_开发问答n is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

i want to write a client/server win program.every client has a amount in it's fund that admin gives to them .now my question is how can every client send it's amount of fund to admin?and the amount of funds must be pend until admin accept them and then save changes for every client? how can i do it?? thanks alot.


Your situation sounds like the business rules can get complicated really fast. This is a psuedo code overview of how the system might look:

client/server win program [closed]

This makes a few assumptions:

  1. Your not utilizing a database from the clients directly.
  2. Your client is storing the fund locally.
  3. The client controls the pending state.
  4. All logic is controlled from the method Admin.Handle().

Your problem doesn't seem that well defined at this point. What happens if multiple clients access the same fund? How do clients know that another client has marked the fund as pending? Can you make the server store the funds and have the clients perform transaction requests against the server?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号