public void HandleRpc(ISender caller, string method, IList args, object rs) {
object result = null;
try {
if(method.Equals("GetInformation")) {
result = GetInformation();
}
else {
throw new Exception("Invalid method");
}
}
catch (Exception e) {
result = new AdrException(-32602, e);
}
_rpc.SendResult(rs, result);
}
}