Naanou.LookupService
Class AsyncCaller

Makes a one-way remoting call async'ly

Field Summary
string method
System.Reflection.MethodInfo mi
object[] param
Naanou.LookupService.RemoteNode target

Constructor Summary
AsyncCaller(Naanou.LookupService.RemoteNode o, string method, object[] param)
         Constructor
AsyncCaller(Naanou.LookupService.RemoteNode o, string method)
         Constructor

Method Summary
System.Reflection.MethodInfo GetMethod(string method, object[] parameters)
         Resolves a method namd
void Run()
         Runs method (sync)
void RunAsync()
         Runs method (async)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

method

private string method


mi

private System.Reflection.MethodInfo mi


param

private object[] param


target

private Naanou.LookupService.RemoteNode target

Constructor Detail

AsyncCaller

public AsyncCaller(Naanou.LookupService.RemoteNode o,
                   string method,
                   object[] param)

Constructor

Parameters:
o - Remote object
method - Method
param - Parameters

AsyncCaller

public AsyncCaller(Naanou.LookupService.RemoteNode o,
                   string method)

Constructor

Parameters:
o - Remote object
method - Method
Method Detail

GetMethod

private System.Reflection.MethodInfo GetMethod(string method,
                                               object[] parameters)

Resolves a method namd

Parameters:
method - Method
parameters - Parameters
Returns:
MethodInfo

Run

public void Run()

Runs method (sync)


RunAsync

public void RunAsync()

Runs method (async)