private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager) { CommandInfo cmdInfo = new CommandInfo(); Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand getProductVersionCommand = command.getProductVersionCommand; cmdInfo.RequestId = getProductVersionCommand.requestId.ToString(); return(cmdInfo); }
public GetProductVersionCommand(string userName, string password) { base.name = "GetProductVersionCommand"; getProductVersionCommand= new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand(); getProductVersionCommand.requestId= base.RequestId; if(string.IsNullOrEmpty(userName)) { getProductVersionCommand.userId= string.Empty; } if(string.IsNullOrEmpty(password)) { getProductVersionCommand.pwd= string.Empty; } }
public GetProductVersionCommand(string userName, string password) { base.name = "GetProductVersionCommand"; getProductVersionCommand = new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand(); getProductVersionCommand.requestId = base.RequestId; if (string.IsNullOrEmpty(userName)) { getProductVersionCommand.userId = string.Empty; } if (string.IsNullOrEmpty(password)) { getProductVersionCommand.pwd = string.Empty; } }
public GetProductVersionCommand(string userName, string password) { base.name = "GetProductVersionCommand"; getProductVersionCommand = new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand(); getProductVersionCommand.requestId = base.RequestId; }