0

次のような状況があります

リモートメソッドを呼び出す(ローカルメソッド)があり、リモートメソッドはいくつかの引数で(ローカルメソッド)をmethod1()呼び出します。method2()この入力引数を method1 の method2 に取得したいので、メソッド 2 を返すデータを設定します。

method1 ()
{
     //remote functon call  
     remoteFunction( input);
    // i want to get the input to method2 and set the method2Output here    
    // so that the set method2Output will be returned mt method2()
    // i want method 2 to wait till method1 gets the method2 input  and sets the   
    // method2Output and then method2 should return the method2Output .
}
remoteFunction(Input input)
{
  // some processing 
  method2(output)


}

public method2Output method2 (Output output)
{
   // processing done my method1

 return method2Output ;
}

前もって感謝します

4

0 に答える 0