c# - Waiting for multiple async request -
i'm working on application sending tcp requests server. problem on client side. responses handled via delegates keep things asynchronous. here signature of 1 request method :
public void requestone(object data, mycallback callback)
but i'm dealing delegate dictionary (resquest,delegate) keep track of requests supposed update client state.
i don't think it's right way it. i'm looking better architecture.
any ideas / pattern ?
Comments
Post a Comment