Exemple #1
0
 /// <summary>
 /// Creates a new instance of Message
 /// </summary>
 /// <param name="methodCall">MethodCall</param>
 /// <param name="callId">CallId</param>
 /// <param name="answer">Answer</param>
 /// <param name="destination">Destination</param>
 /// <returns>returns a new Message of CreateInstance</returns>
 public static Message createInstance(RemoteMethodCall methodCall, string callId, bool answer, string destination)
 {
     Message instance = new Message();
     instance.methodCall = methodCall;
     instance.callId = callId;
     instance.answer = answer;
     instance.destination = destination;
     return instance;
 }
 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;
 }