コード例 #1
0
ファイル: BTransport.cs プロジェクト: ThomasEcherer/elo
        public IAsyncResult BeginSend <T>(BMethodRequest methodRequest, AsyncCallback callback, object state)
        {
            BAsyncProgModel <T>           asyncResult = new BAsyncProgModel <T>(callback, state);
            BAsyncResultReceiveMethod <T> outerResult = new BAsyncResultReceiveMethod <T>(asyncResult);

            assignSessionThenSendMethod(methodRequest, outerResult);
            return(asyncResult);
        }
コード例 #2
0
ファイル: BTransport.cs プロジェクト: ThomasEcherer/elo
        public void sendMethod <T>(BMethodRequest methodRequest, BAsyncResult <T> asyncResult)
        {
            BAsyncResultReceiveMethod <T> outerResult = new BAsyncResultReceiveMethod <T>(asyncResult);

            assignSessionThenSendMethod(methodRequest, outerResult);
        }