public static RemoteMethodCall CreateInstance(string methodName, IList<object> args, IDictionary<string, string> metaData, IList<string> classes, IList<String> realClassImplementation)
 {
     RemoteMethodCall call = new RemoteMethodCall();
     call.methodName = methodName;
     call.args = args;
     call.metaData = metaData;
     call.classes = classes;
     call.realClassImplementation = realClassImplementation;
     return call;
 }
 /// <summary>
 /// Creates an instance of SecureMethodCallRequest
 /// </summary>
 /// <param name="principal">Principal</param>
 /// <param name="credentials">Credentials</param>
 /// <param name="message">Message</param>
 /// <returns>Instance of SecureMethodCallRequest</returns>
 public static MethodCallMessage createInstance(String principal, BeanDescription credentials, RemoteMethodCall methodCall, string callId, bool answer, string destination)
 {
     MethodCallMessage instance = new MethodCallMessage();
     instance.methodCall = methodCall;
     instance.callId = callId;
     instance.answer = answer;
     instance.destination = destination;
     instance.principal = principal;
     instance.credentials = credentials;
     instance.timestamp = DateTime.Now.Ticks;
     instance.credentials = credentials;
     return instance;
 }